diff options
author | Ryan <fauxpark@gmail.com> | 2021-06-20 12:03:11 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 12:03:11 +1000 |
commit | 4dddcb4f0300f79d8fbfc462ff8d6b360e99989e (patch) | |
tree | 3b15a8ce14a9911b425a86cd36fd2afd302c3a25 /keyboards/telophase/config.h | |
parent | 11f66c317ab47a3f95b3278187392105cfe791d8 (diff) |
Telophase cleanup (#13225)
Diffstat (limited to 'keyboards/telophase/config.h')
-rw-r--r-- | keyboards/telophase/config.h | 53 |
1 files changed, 33 insertions, 20 deletions
diff --git a/keyboards/telophase/config.h b/keyboards/telophase/config.h index c67dd939bf..51718da9d4 100644 --- a/keyboards/telophase/config.h +++ b/keyboards/telophase/config.h @@ -1,5 +1,5 @@ /* -Copyright 2012 Jun Wako <wakojun@gmail.com> +Copyright 2021 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,32 +15,45 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once #include "config_common.h" /* USB Device descriptor parameter */ - -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x6060 -#define DEVICE_VER 0x0001 -#define MANUFACTURER unknown -#define PRODUCT Telophase +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x6060 +#define DEVICE_VER 0x0001 +#define MANUFACTURER unknown +#define PRODUCT Telophase /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 12 -/* define if matrix has ghost */ -//#define MATRIX_HAS_GHOST - -/* number of backlight levels */ -//#define BACKLIGHT_LEVELS 3 - #define ONESHOT_TIMEOUT 500 /* + * Force NKRO + * + * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved + * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the + * makefile for this to work.) + * + * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) + * until the next keyboard reset. + * + * NKRO may prevent your keystrokes from being detected in the BIOS, but it is + * fully operational during normal computer usage. + * + * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) + * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by + * bootmagic, NKRO mode will always be enabled until it is toggled again during a + * power-up. + * + */ +//#define FORCE_NKRO + +/* * Feature disable options * These options are also useful to firmware size reduction. */ @@ -55,10 +68,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define NO_ACTION_LAYER //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT -//#define NO_ACTION_MACRO -//#define NO_ACTION_FUNCTION -//UART settings for communication with the RF microcontroller +/* disable these deprecated features by default */ +#define NO_ACTION_MACRO +#define NO_ACTION_FUNCTION + +// UART settings for communication with the RF microcontroller #define SERIAL_UART_BAUD 1000000 #define SERIAL_UART_RXD_PRESENT (UCSR1A & _BV(RXC1)) #define SERIAL_UART_INIT_CUSTOM \ @@ -66,5 +81,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. UCSR1B = _BV(TXEN1) | _BV(RXEN1); \ /* 8-bit data */ \ UCSR1C = _BV(UCSZ11) | _BV(UCSZ10); - -#endif |