1 // Copyright 2022 Armaan Bhojwani <me@armaanb.net>
2 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include "config_common.h"
8 /* USB Device descriptor parameter */
9 #define VENDOR_ID 0xFEED
10 #define PRODUCT_ID 0x0000
11 #define DEVICE_VER 0x0001
12 #define MANUFACTURER acheam
20 * Keyboard Matrix Assignments
22 * Change this to how you wired your keyboard
23 * COLS: AVR pins used for columns, left to right
24 * ROWS: AVR pins used for rows, top to bottom
25 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
26 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
29 #define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3 }
30 #define MATRIX_COL_PINS { B5, B4, E6, D7 }
33 /* COL2ROW, ROW2COL */
34 #define DIODE_DIRECTION COL2ROW
37 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
39 #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
41 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
47 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
48 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
49 * makefile for this to work.)
51 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
52 * until the next keyboard reset.
54 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
55 * fully operational during normal computer usage.
57 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
58 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
59 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
66 * Feature disable options
67 * These options are also useful to firmware size reduction.
70 /* disable debug print */
76 /* disable action features */
77 //#define NO_ACTION_LAYER
78 //#define NO_ACTION_TAPPING
79 //#define NO_ACTION_ONESHOT
81 /* disable these deprecated features by default */
82 #define NO_ACTION_MACRO
83 #define NO_ACTION_FUNCTION
85 /* Bootmagic Lite key configuration */
86 //#define BOOTMAGIC_LITE_ROW 0
87 //#define BOOTMAGIC_LITE_COLUMN 0