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.

72 lines
1.9 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x4273 // "Bs" - Boardsource
  5. #define PRODUCT_ID 0x0304 // 3x4
  6. #define DEVICE_VER 0x0000
  7. #define MANUFACTURER Boardsource
  8. #define PRODUCT 3x4
  9. /* key matrix size */
  10. #define MATRIX_ROWS 3
  11. #define MATRIX_COLS 4
  12. #define MATRIX_ROW_PINS {F7, F6, F5}
  13. #define MATRIX_COL_PINS {B6, B2, B3, B1}
  14. #define DIODE_DIRECTION COL2ROW
  15. #define DEBOUNCE 5
  16. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  17. #define LOCKING_SUPPORT_ENABLE
  18. /* Locking resynchronize hack */
  19. #define LOCKING_RESYNC_ENABLE
  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. * Feature disable options
  46. * These options are also useful to firmware size reduction.
  47. */
  48. /* disable debug print */
  49. //#define NO_DEBUG
  50. /* disable print */
  51. //#define NO_PRINT
  52. /* disable action features */
  53. //#define NO_ACTION_LAYER
  54. //#define NO_ACTION_TAPPING
  55. //#define NO_ACTION_ONESHOT
  56. //#define NO_ACTION_MACRO
  57. //#define NO_ACTION_FUNCTION