4 #include "config_common.h"
6 #define VENDOR_ID 0xFEED
7 #define PRODUCT_ID 0x6064
8 #define DEVICE_VER 0x0001
9 #define MANUFACTURER LFKeyboards
10 #define PRODUCT LFK65_HS
11 #define DESCRIPTION QMK keyboard firmware for LFK65_HS
13 #define DIODE_DIRECTION COL2ROW
15 #define MATRIX_COLS 16
16 #define MATRIX_ROW_PINS {B0, B3, B2, B1, F5}
17 #define MATRIX_COL_PINS {E6, F4, B7, D5, D3, D2, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4}
18 #define UNUSED_PINS {}
19 #define RGBLED_NUM 20 // Number of LEDs
21 #define QMK_ESC_OUTPUT E6 // usually COL
22 #define QMK_ESC_INPUT B0 // usually ROW
24 // #define QMK_SPEAKER C6
26 #define BACKLIGHT_LEVELS 8
27 #define BACKLIGHT_PWM_MAP {8, 16, 40, 55, 70, 128, 200, 255}
29 #define RGB_DI_PIN C7 // Have to set it to something to get the ws2812 code to compile
30 #define RGBLED_NUM 20 // Number of LEDs
31 #define RGBLIGHT_ANIMATIONS
32 #define RGBLIGHT_HUE_STEP 10
33 #define RGBLIGHT_SAT_STEP 17
34 #define RGBLIGHT_VAL_STEP 17
36 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
39 /* define if matrix has ghost (lacks anti-ghosting diodes) */
40 //#define MATRIX_HAS_GHOST
42 /* number of backlight levels */
44 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45 #define LOCKING_SUPPORT_ENABLE
46 /* Locking resynchronize hack */
47 #define LOCKING_RESYNC_ENABLE
52 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
53 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
54 * makefile for this to work.)
56 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
57 * until the next keyboard reset.
59 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
60 * fully operational during normal computer usage.
62 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
63 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
64 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
73 * Magic keys are hotkey commands that allow control over firmware functions of
74 * the keyboard. They are best used in combination with the HID Listen program,
75 * found here: https://www.pjrc.com/teensy/hid_listen.html
77 * The options below allow the magic key functionality to be changed. This is
78 * useful if your keyboard/keypad is missing keys and you want magic key support.
82 /* control how magic key switches layers */
83 //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
84 //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
85 //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
87 /* override magic key keymap */
88 //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
89 //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
90 //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
91 //#define MAGIC_KEY_HELP1 H
92 //#define MAGIC_KEY_HELP2 SLASH
93 //#define MAGIC_KEY_DEBUG D
94 //#define MAGIC_KEY_DEBUG_MATRIX X
95 //#define MAGIC_KEY_DEBUG_KBD K
96 //#define MAGIC_KEY_DEBUG_MOUSE M
97 //#define MAGIC_KEY_VERSION V
98 //#define MAGIC_KEY_STATUS S
99 //#define MAGIC_KEY_CONSOLE C
100 //#define MAGIC_KEY_LAYER0_ALT1 ESC
101 //#define MAGIC_KEY_LAYER0_ALT2 GRAVE
102 //#define MAGIC_KEY_LAYER0 0
103 //#define MAGIC_KEY_LAYER1 1
104 //#define MAGIC_KEY_LAYER2 2
105 //#define MAGIC_KEY_LAYER3 3
106 //#define MAGIC_KEY_LAYER4 4
107 //#define MAGIC_KEY_LAYER5 5
108 //#define MAGIC_KEY_LAYER6 6
109 //#define MAGIC_KEY_LAYER7 7
110 //#define MAGIC_KEY_LAYER8 8
111 //#define MAGIC_KEY_LAYER9 9
112 //#define MAGIC_KEY_BOOTLOADER PAUSE
113 //#define MAGIC_KEY_LOCK CAPS
114 //#define MAGIC_KEY_EEPROM E
115 //#define MAGIC_KEY_NKRO N
116 //#define MAGIC_KEY_SLEEP_LED Z
119 * Feature disable options
120 * These options are also useful to firmware size reduction.
123 /* disable debug print */
129 /* disable action features */
130 //#define NO_ACTION_LAYER
131 //#define NO_ACTION_TAPPING
132 //#define NO_ACTION_ONESHOT
133 //#define NO_ACTION_MACRO
134 //#define NO_ACTION_FUNCTION