diff options
Diffstat (limited to 'keyboards/handwired/onekey/config.h')
| -rw-r--r-- | keyboards/handwired/onekey/config.h | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/keyboards/handwired/onekey/config.h b/keyboards/handwired/onekey/config.h index 4643da7cf..950146a5d 100644 --- a/keyboards/handwired/onekey/config.h +++ b/keyboards/handwired/onekey/config.h | |||
| @@ -18,31 +18,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | /* USB Device descriptor parameter */ | 20 | /* USB Device descriptor parameter */ |
| 21 | #define VENDOR_ID 0xFEED | 21 | #define VENDOR_ID 0xFEED |
| 22 | #define PRODUCT_ID 0x6465 | 22 | #define PRODUCT_ID 0x6465 |
| 23 | #define DEVICE_VER 0x0001 | 23 | #define DEVICE_VER 0x0001 |
| 24 | #define MANUFACTURER none | 24 | #define MANUFACTURER QMK |
| 25 | #define PRODUCT onekey | ||
| 26 | 25 | ||
| 27 | /* key matrix size */ | 26 | /* key matrix size */ |
| 28 | #define MATRIX_ROWS 1 | 27 | #define MATRIX_ROWS 1 |
| 29 | #define MATRIX_COLS 1 | 28 | #define MATRIX_COLS 1 |
| 30 | 29 | ||
| 30 | /* COL2ROW, ROW2COL */ | ||
| 31 | #define DIODE_DIRECTION COL2ROW | 31 | #define DIODE_DIRECTION COL2ROW |
| 32 | 32 | ||
| 33 | /* define if matrix has ghost */ | 33 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 34 | //#define MATRIX_HAS_GHOST | 34 | #define DEBOUNCE 5 |
| 35 | |||
| 36 | /* Set 0 if debouncing isn't needed */ | ||
| 37 | #define DEBOUNCE 5 | ||
| 38 | 35 | ||
| 39 | #define TAPPING_TERM 500 | 36 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 37 | //#define MATRIX_HAS_GHOST | ||
| 40 | 38 | ||
| 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 39 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 42 | #define LOCKING_SUPPORT_ENABLE | 40 | #define LOCKING_SUPPORT_ENABLE |
| 43 | /* Locking resynchronize hack */ | 41 | /* Locking resynchronize hack */ |
| 44 | #define LOCKING_RESYNC_ENABLE | 42 | #define LOCKING_RESYNC_ENABLE |
| 45 | 43 | ||
| 44 | #define TAPPING_TERM 500 | ||
| 45 | |||
| 46 | /* | 46 | /* |
| 47 | * Feature disable options | 47 | * Feature disable options |
| 48 | * These options are also useful to firmware size reduction. | 48 | * These options are also useful to firmware size reduction. |
| @@ -58,5 +58,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 58 | //#define NO_ACTION_LAYER | 58 | //#define NO_ACTION_LAYER |
| 59 | //#define NO_ACTION_TAPPING | 59 | //#define NO_ACTION_TAPPING |
| 60 | //#define NO_ACTION_ONESHOT | 60 | //#define NO_ACTION_ONESHOT |
| 61 | //#define NO_ACTION_MACRO | 61 | |
| 62 | //#define NO_ACTION_FUNCTION | 62 | /* disable these deprecated features by default */ |
| 63 | #define NO_ACTION_MACRO | ||
| 64 | #define NO_ACTION_FUNCTION | ||
| 65 | |||
| 66 | /* Bootmagic Lite key configuration */ | ||
| 67 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 68 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
