Keyboard firmwares for Atmel AVR and Cortex-M
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 786B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3. #define VENDOR_ID 0xFEED
  4. #define PRODUCT_ID 0xBEEF
  5. #define MANUFACTURER t.m.k.
  6. #define PRODUCT Macway mod
  7. #define DESCRIPTION t.m.k. keyboard firmware for Macway mod
  8. /* controller */
  9. #include "controller_teensy.h"
  10. /* matrix size */
  11. #define MATRIX_ROWS 9
  12. #define MATRIX_COLS 8
  13. /* USB NKey Rollover */
  14. #ifdef USB_NKRO_ENABLE
  15. #endif
  16. /* mouse keys */
  17. #ifdef MOUSEKEY_ENABLE
  18. # define MOUSEKEY_DELAY_TIME 192
  19. #endif
  20. /* PS/2 mouse */
  21. #ifdef PS2_MOUSE_ENABLE
  22. # define PS2_CLOCK_PORT PORTF
  23. # define PS2_CLOCK_PIN PINF
  24. # define PS2_CLOCK_DDR DDRF
  25. # define PS2_CLOCK_BIT 0
  26. # define PS2_DATA_PORT PORTF
  27. # define PS2_DATA_PIN PINF
  28. # define PS2_DATA_DDR DDRF
  29. # define PS2_DATA_BIT 1
  30. #endif
  31. #endif