mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-14 07:55:28 +00:00
[Keymap] Cleaning up my config and userspace files (#5265)
* Removed since options are in userspace * Removed RGB option that was breaking one of my builds * Remove unused options * Removed options present in userspace, add board specific options here * Removed code also present in userspace * Turns out those lines were needed, added them back * Testing changes * Added code to ensure board read as ANSI instead of default ISO for HS60 * Setting \ key to "MOD" instead of "ALPHA" for lighting
This commit is contained in:
parent
a872faa53e
commit
32b63d676f
5 changed files with 23 additions and 25 deletions
|
@ -1,2 +1,22 @@
|
||||||
#define TAPPING_TERM 200
|
#pragma once
|
||||||
#define RETRO_TAPPING
|
|
||||||
|
// Include overwrites for specific keymap
|
||||||
|
#define HS60_ANSI
|
||||||
|
#undef PRODUCT_ID
|
||||||
|
#define PRODUCT_ID 0x4854
|
||||||
|
|
||||||
|
// disable backlight after timeout in minutes, 0 = no timeout
|
||||||
|
#undef RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT
|
||||||
|
#define RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT 10
|
||||||
|
|
||||||
|
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_0
|
||||||
|
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_1
|
||||||
|
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_2
|
||||||
|
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_3
|
||||||
|
#undef RGB_BACKLIGHT_ALPHAS_MODS_ROW_4
|
||||||
|
|
||||||
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_0 0b0010000000000001
|
||||||
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_1 0b0000000000000001
|
||||||
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_2 0b0011000000000001 //Setting \ key to "MOD" instead of "ALPHA" for lighting
|
||||||
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0010000000000001
|
||||||
|
#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011110000000111
|
||||||
|
|
|
@ -14,21 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
|
#include "stanrc85.h"
|
||||||
#define DEFAULT 0 //Custom ANSI
|
|
||||||
#define LAYER1 1 //Default ANSI (enable with Fn2+D)
|
|
||||||
#define LAYER2 2 //Function keys, arrows, custom shortcuts, volume control
|
|
||||||
#define LAYER3 3 //RGB Underglow controls and RESET
|
|
||||||
|
|
||||||
//Aliases for longer keycodes
|
|
||||||
#define KC_CAD LALT(LCTL(KC_DEL))
|
|
||||||
#define KC_LOCK LGUI(KC_L)
|
|
||||||
#define CA_QUOT LCA(KC_QUOT)
|
|
||||||
#define CA_SCLN LCA(KC_SCLN)
|
|
||||||
#define KC_CTLE LCTL_T(KC_ESC)
|
|
||||||
#define LT_SPCF LT(2, KC_SPC)
|
|
||||||
#define TD_TESC TD(TD_ESC)
|
|
||||||
#define TD_TWIN TD(TD_WIN)
|
|
||||||
|
|
||||||
//Tap Dance Declarations
|
//Tap Dance Declarations
|
||||||
enum {
|
enum {
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
TAP_DANCE_ENABLE = yes
|
|
||||||
DYNAMIC_KEYMAP_ENABLE = no
|
|
||||||
|
|
|
@ -2,7 +2,3 @@
|
||||||
|
|
||||||
#define TAPPING_TERM 200
|
#define TAPPING_TERM 200
|
||||||
#define RETRO_TAPPING
|
#define RETRO_TAPPING
|
||||||
|
|
||||||
#ifdef RGBLIGHT_ENABLE
|
|
||||||
#define RGBLIGHT_SLEEP
|
|
||||||
#endif // RGBLIGHT_ENABLE
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
TAP_DANCE_ENABLE = yes
|
TAP_DANCE_ENABLE = yes
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
RGBLIGHT_ENABLE = yes
|
|
||||||
BACKLIGHT_ENABLE = no
|
BACKLIGHT_ENABLE = no
|
||||||
COMMAND_ENABLE = no
|
COMMAND_ENABLE = no
|
||||||
BOOTMAGIC_ENABLE = no
|
BOOTMAGIC_ENABLE = no
|
||||||
|
|
Loading…
Reference in a new issue