暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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__