summaryrefslogtreecommitdiffstats
path: root/keyboards/1upkeyboards/super16/keymaps/ahk_companion/config.h
diff options
context:
space:
mode:
authorNick Blyumberg <nblyumberg@gmail.com>2020-07-01 02:49:16 -0400
committerGitHub <noreply@github.com>2020-06-30 23:49:16 -0700
commit907c1c64cfd1e1c132c65a19ef30bb255255c37b (patch)
tree6e6554327023ffe4ff43d0fb45ad3ffad95c3421 /keyboards/1upkeyboards/super16/keymaps/ahk_companion/config.h
parent8b9e3e9979ffddaa91e022e8ab953be5c7c5283e (diff)
[Keymap] AutoHotKey Companion keymap for Super16 (#9216)
* Started AHK Companion Development * Updated the readme * Added AutoHotKey companion file * Updated documentation * Cleaned up the files and revised documentation * Finished the readme.md updates * Fixed the LED issue where the last LED did not reflect the right color
Diffstat (limited to 'keyboards/1upkeyboards/super16/keymaps/ahk_companion/config.h')
-rw-r--r--keyboards/1upkeyboards/super16/keymaps/ahk_companion/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/1upkeyboards/super16/keymaps/ahk_companion/config.h b/keyboards/1upkeyboards/super16/keymaps/ahk_companion/config.h
new file mode 100644
index 0000000000..3b7fd81d69
--- /dev/null
+++ b/keyboards/1upkeyboards/super16/keymaps/ahk_companion/config.h
@@ -0,0 +1,19 @@
+#pragma once
+
+// Time out one shot layers after 3 seconds
+#define ONESHOT_TIMEOUT 3000
+
+#define RGBLED_NUM 16
+
+// Undef and redefine default brightness to half of 255
+#undef RGBLIGHT_LIMIT_VAL
+#define RGBLIGHT_LIMIT_VAL 128
+
+//Define a preview timeout for RGB reviews
+#define PREVIEW_TIMEOUT 5000
+#define TAPPING_TERM 200
+
+// Enable Light Layers implementation
+#define RGBLIGHT_LAYERS
+// Allow Light Layers to override RGB off configuration
+#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF