]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/sixshooter/config.h
Adds the Proton C base project (#4224)
[qmk_firmware.git] / keyboards / sixshooter / config.h
1 #pragma once
2
3 #include "config_common.h"
4
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.
12
13 /* key matrix size */
14 #define MATRIX_ROWS 1
15 #define MATRIX_COLS 6
16
17 /*
18  * Keyboard Matrix Assignments
19  *
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)
25  *
26 */
27 #define MATRIX_ROW_PINS {  }
28 #define MATRIX_COL_PINS { F7, F6, F1, F5, F4, F0 }
29 #define UNUSED_PINS
30
31 /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
32 #define DIODE_DIRECTION COL2ROW
33
34
35 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
36 #define DEBOUNCING_DELAY 5
37
38 /*
39  * Force NKRO
40  *
41  * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
42  * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
43  * makefile for this to work.)
44  *
45  * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
46  * until the next keyboard reset.
47  *
48  * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
49  * fully operational during normal computer usage.
50  *
51  * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
52  * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
53  * bootmagic, NKRO mode will always be enabled until it is toggled again during a
54  * power-up.
55  *
56  */
57 //#define FORCE_NKRO
58
59 /*
60  * Magic Key Options
61  *
62  * Magic keys are hotkey commands that allow control over firmware functions of
63  * the keyboard. They are best used in combination with the HID Listen program,
64  * found here: https://www.pjrc.com/teensy/hid_listen.html
65  *
66  * The options below allow the magic key functionality to be changed. This is
67  * useful if your keyboard/keypad is missing keys and you want magic key support.
68  *
69  */
70
71 /* key combination for magic key command */
72 #define IS_COMMAND() ( \
73     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
74 )
75
76 /* control how magic key switches layers */
77 //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS  true
78 //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS  true
79 //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
80
81 /* override magic key keymap */
82 //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
83 //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
84 //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
85 //#define MAGIC_KEY_HELP1          H
86 //#define MAGIC_KEY_HELP2          SLASH
87 //#define MAGIC_KEY_DEBUG          D
88 //#define MAGIC_KEY_DEBUG_MATRIX   X
89 //#define MAGIC_KEY_DEBUG_KBD      K
90 //#define MAGIC_KEY_DEBUG_MOUSE    M
91 //#define MAGIC_KEY_VERSION        V
92 //#define MAGIC_KEY_STATUS         S
93 //#define MAGIC_KEY_CONSOLE        C
94 //#define MAGIC_KEY_LAYER0_ALT1    ESC
95 //#define MAGIC_KEY_LAYER0_ALT2    GRAVE
96 //#define MAGIC_KEY_LAYER0         0
97 //#define MAGIC_KEY_LAYER1         1
98 //#define MAGIC_KEY_LAYER2         2
99 //#define MAGIC_KEY_LAYER3         3
100 //#define MAGIC_KEY_LAYER4         4
101 //#define MAGIC_KEY_LAYER5         5
102 //#define MAGIC_KEY_LAYER6         6
103 //#define MAGIC_KEY_LAYER7         7
104 //#define MAGIC_KEY_LAYER8         8
105 //#define MAGIC_KEY_LAYER9         9
106 //#define MAGIC_KEY_BOOTLOADER     PAUSE
107 //#define MAGIC_KEY_LOCK           CAPS
108 //#define MAGIC_KEY_EEPROM         E
109 //#define MAGIC_KEY_NKRO           N
110 //#define MAGIC_KEY_SLEEP_LED      Z
111
112 /*
113  * Feature disable options
114  *  These options are also useful to firmware size reduction.
115  */
116
117 /* disable debug print */
118 //#define NO_DEBUG
119
120 /* disable print */
121 //#define NO_PRINT
122
123 /* disable action features */
124 //#define NO_ACTION_LAYER
125 //#define NO_ACTION_TAPPING
126 //#define NO_ACTION_ONESHOT
127 //#define NO_ACTION_MACRO
128 //#define NO_ACTION_FUNCTION