summaryrefslogtreecommitdiff
path: root/keyboards/hs60/v2/keymaps/stanrc85/config.h
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2019-02-28 15:02:22 -0500
committerDrashna Jaelre <drashna@live.com>2019-02-28 12:02:22 -0800
commit32b63d676fbfd3a71764459cd89c428ccbde7ddd (patch)
tree0cb082ab96b990bf732d1ba536ad24610301f390 /keyboards/hs60/v2/keymaps/stanrc85/config.h
parenta872faa53e1b9b9651d3f6ffe6d671e0e211309c (diff)
[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
Diffstat (limited to 'keyboards/hs60/v2/keymaps/stanrc85/config.h')
-rw-r--r--keyboards/hs60/v2/keymaps/stanrc85/config.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/keyboards/hs60/v2/keymaps/stanrc85/config.h b/keyboards/hs60/v2/keymaps/stanrc85/config.h
index 4443dcd50e..4576211f10 100644
--- a/keyboards/hs60/v2/keymaps/stanrc85/config.h
+++ b/keyboards/hs60/v2/keymaps/stanrc85/config.h
@@ -1,2 +1,22 @@
-#define TAPPING_TERM 200
-#define RETRO_TAPPING
+#pragma once
+
+// 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