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.

65 lines
2.1 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x0C61
  6. #define DEVICE_VER 0x00C6
  7. #define MANUFACTURER PeiorisBoards
  8. #define PRODUCT Vinta R1
  9. #define DESCRIPTION Tada68 Replacement PCB
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 16
  13. #define MATRIX_ROW_PINS { A10, A9, B0, A7, A6 }
  14. #define MATRIX_COL_PINS { A5, A4, A3, A2, A1, A0, F1, F0, B7, B6, B5, B4, B3, A15, A14, A13 }
  15. /* COL2ROW, ROW2COL*/
  16. #define DIODE_DIRECTION COL2ROW
  17. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  18. #define DEBOUNCE 0
  19. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  20. //#define MATRIX_HAS_GHOST
  21. /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
  22. * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
  23. */
  24. // #define GRAVE_ESC_CTRL_OVERRIDE
  25. /*
  26. * Force NKRO
  27. *
  28. * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
  29. * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
  30. * makefile for this to work.)
  31. *
  32. * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
  33. * until the next keyboard reset.
  34. *
  35. * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
  36. * fully operational during normal computer usage.
  37. *
  38. * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
  39. * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
  40. * bootmagic, NKRO mode will always be enabled until it is toggled again during a
  41. * power-up.
  42. *
  43. */
  44. //#define FORCE_NKRO
  45. /*
  46. * Magic Key Options
  47. *
  48. * Magic keys are hotkey commands that allow control over firmware functions of
  49. * the keyboard. They are best used in combination with the HID Listen program,
  50. * found here: https://www.pjrc.com/teensy/hid_listen.html
  51. *
  52. * The options below allow the magic key functionality to be changed. This is
  53. * useful if your keyboard/keypad is missing keys and you want magic key support.
  54. *
  55. */