config.h 2.0 KB

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