Nessuna descrizione
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 594B

12345678910111213141516171819202122232425262728
  1. /*
  2. * config.h
  3. */
  4. #ifndef __CONFIG_H__
  5. #define __CONFIG_H__
  6. #define PMW_MOTION_PIN 20
  7. #define PMW_PRINT_IDS
  8. #define PMW_IRQ_COUNTERS
  9. //#define PMW_FEATURE_WIRELESS
  10. //#define DISABLE_CDC_DTR_CHECK
  11. #define INVERT_MOUSE_X_AXIS false
  12. #define INVERT_MOUSE_Y_AXIS true
  13. #define DEFAULT_MOUSE_SENSITIVITY PMW_CPI_TO_SENSE(500)
  14. #define DEFAULT_MOUSE_ANGLE -30
  15. #define INVERT_SCROLL_X_AXIS false
  16. #define INVERT_SCROLL_Y_AXIS false
  17. #define SCROLL_REDUCE_SENSITIVITY 10
  18. #define MIN_SCROLL_SUPPRESS_CLICK 10
  19. #define MOUSE_FAKE_MIDDLE_CLICK_TIME 10
  20. #define DEBOUNCE_DELAY_MS 5
  21. #endif // __CONFIG_H__