3 #include "config_common.h"
5 /* USB Device descriptor parameter */
6 #define VENDOR_ID 0xFEED
7 #define PRODUCT_ID 0x6666
8 #define DEVICE_VER 0x0001
9 #define MANUFACTURER bpiphany
10 #define PRODUCT sixshooter
11 #define DESCRIPTION A PCB for the CM Storm switch tester utilizing a Teensy 2.0.
18 * Keyboard Matrix Assignments
20 * Change this to how you wired your keyboard
21 * COLS: AVR pins used for columns, left to right
22 * ROWS: AVR pins used for rows, top to bottom
23 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
24 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
27 #define MATRIX_ROW_PINS { }
28 #define MATRIX_COL_PINS { F7, F6, F1, F5, F4, F0 }
31 /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
32 #define DIODE_DIRECTION COL2ROW
34 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
35 #define DEBOUNCING_DELAY 5
40 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
41 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
42 * makefile for this to work.)
44 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
45 * until the next keyboard reset.
47 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
48 * fully operational during normal computer usage.
50 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
51 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
52 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
61 * Magic keys are hotkey commands that allow control over firmware functions of
62 * the keyboard. They are best used in combination with the HID Listen program,
63 * found here: https://www.pjrc.com/teensy/hid_listen.html
65 * The options below allow the magic key functionality to be changed. This is
66 * useful if your keyboard/keypad is missing keys and you want magic key support.
70 /* control how magic key switches layers */
71 //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
72 //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
73 //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
75 /* override magic key keymap */
76 //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
77 //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
78 //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
79 //#define MAGIC_KEY_HELP1 H
80 //#define MAGIC_KEY_HELP2 SLASH
81 //#define MAGIC_KEY_DEBUG D
82 //#define MAGIC_KEY_DEBUG_MATRIX X
83 //#define MAGIC_KEY_DEBUG_KBD K
84 //#define MAGIC_KEY_DEBUG_MOUSE M
85 //#define MAGIC_KEY_VERSION V
86 //#define MAGIC_KEY_STATUS S
87 //#define MAGIC_KEY_CONSOLE C
88 //#define MAGIC_KEY_LAYER0_ALT1 ESC
89 //#define MAGIC_KEY_LAYER0_ALT2 GRAVE
90 //#define MAGIC_KEY_LAYER0 0
91 //#define MAGIC_KEY_LAYER1 1
92 //#define MAGIC_KEY_LAYER2 2
93 //#define MAGIC_KEY_LAYER3 3
94 //#define MAGIC_KEY_LAYER4 4
95 //#define MAGIC_KEY_LAYER5 5
96 //#define MAGIC_KEY_LAYER6 6
97 //#define MAGIC_KEY_LAYER7 7
98 //#define MAGIC_KEY_LAYER8 8
99 //#define MAGIC_KEY_LAYER9 9
100 //#define MAGIC_KEY_BOOTLOADER PAUSE
101 //#define MAGIC_KEY_LOCK CAPS
102 //#define MAGIC_KEY_EEPROM E
103 //#define MAGIC_KEY_NKRO N
104 //#define MAGIC_KEY_SLEEP_LED Z
107 * Feature disable options
108 * These options are also useful to firmware size reduction.
111 /* disable debug print */
117 /* disable action features */
118 //#define NO_ACTION_LAYER
119 //#define NO_ACTION_TAPPING
120 //#define NO_ACTION_ONESHOT
121 //#define NO_ACTION_MACRO
122 //#define NO_ACTION_FUNCTION