aboutsummaryrefslogtreecommitdiff
path: root/keyboard/atomic/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/atomic/config.h')
-rw-r--r--keyboard/atomic/config.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/keyboard/atomic/config.h b/keyboard/atomic/config.h
index 1b34decf9..bf9550e94 100644
--- a/keyboard/atomic/config.h
+++ b/keyboard/atomic/config.h
@@ -41,15 +41,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
41 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) 41 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
42 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) 42 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
43 * 43 *
44*/ 44*/
45#define COLS (int []){ F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 } 45#define MATRIX_ROW_PINS { D0, D5, B5, B6, C6 }
46#define ROWS (int []){ D0, D5, B5, B6, C6 } 46#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 }
47#define UNUSED_PINS
47 48
48/* COL2ROW or ROW2COL */ 49/* COL2ROW or ROW2COL */
49#define DIODE_DIRECTION COL2ROW 50#define DIODE_DIRECTION COL2ROW
50 51
51/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 52/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
52#define DEBOUNCE 5 53#define DEBOUNCING_DELAY 5
53 54
54/* define if matrix has ghost (lacks anti-ghosting diodes) */ 55/* define if matrix has ghost (lacks anti-ghosting diodes) */
55//#define MATRIX_HAS_GHOST 56//#define MATRIX_HAS_GHOST
@@ -62,17 +63,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
62/* Locking resynchronize hack */ 63/* Locking resynchronize hack */
63#define LOCKING_RESYNC_ENABLE 64#define LOCKING_RESYNC_ENABLE
64 65
65/* 66/*
66 * Force NKRO 67 * Force NKRO
67 * 68 *
68 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved 69 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
69 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the 70 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
70 * makefile for this to work.) 71 * makefile for this to work.)
71 * 72 *
72 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) 73 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
73 * until the next keyboard reset. 74 * until the next keyboard reset.
74 * 75 *
75 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is 76 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
76 * fully operational during normal computer usage. 77 * fully operational during normal computer usage.
77 * 78 *
78 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) 79 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
@@ -90,7 +91,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
90 * the keyboard. They are best used in combination with the HID Listen program, 91 * the keyboard. They are best used in combination with the HID Listen program,
91 * found here: https://www.pjrc.com/teensy/hid_listen.html 92 * found here: https://www.pjrc.com/teensy/hid_listen.html
92 * 93 *
93 * The options below allow the magic key functionality to be changed. This is 94 * The options below allow the magic key functionality to be changed. This is
94 * useful if your keyboard/keypad is missing keys and you want magic key support. 95 * useful if your keyboard/keypad is missing keys and you want magic key support.
95 * 96 *
96 */ 97 */