Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.h 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * config.h
  3. *
  4. * Copyright (c) 2022 - 2023 Thomas Buck (thomas@xythobuz.de)
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * See <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef __CONFIG_H__
  19. #define __CONFIG_H__
  20. #define PMW_MOTION_PIN 20
  21. #define PMW_PRINT_IDS
  22. #define PMW_IRQ_COUNTERS
  23. //#define PMW_FEATURE_WIRELESS
  24. //#define DISABLE_CDC_DTR_CHECK
  25. #define INVERT_MOUSE_X_AXIS false
  26. #define INVERT_MOUSE_Y_AXIS true
  27. #define DEFAULT_MOUSE_SENSITIVITY PMW_CPI_TO_SENSE(500)
  28. #define DEFAULT_MOUSE_ANGLE -30
  29. #define INVERT_SCROLL_X_AXIS false
  30. #define INVERT_SCROLL_Y_AXIS false
  31. #define SCROLL_REDUCE_SENSITIVITY 20
  32. #define MIN_SCROLL_SUPPRESS_CLICK 10
  33. #define MOUSE_FAKE_MIDDLE_CLICK_TIME 10
  34. #define DEBOUNCE_DELAY_MS 5
  35. #endif // __CONFIG_H__