summaryrefslogtreecommitdiffstats
path: root/keyboards/hs60/v2/keymaps/goatmaster/config.h
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2019-04-04 07:57:41 +0200
committerDrashna Jaelre <drashna@live.com>2019-04-04 07:57:41 +0200
commit76d982febaf5f154e633d45a9e53cbc21f3853ae (patch)
tree516996faa5299ff290b01f3800ffd9bf9b2d30f6 /keyboards/hs60/v2/keymaps/goatmaster/config.h
parentdebd902a3d5788beab8580a26c84d7db2365a638 (diff)
downloadqmk_firmware-76d982febaf5f154e633d45a9e53cbc21f3853ae.tar.gz
qmk_firmware-76d982febaf5f154e633d45a9e53cbc21f3853ae.tar.xz
[Keymap] New HS60/v2 HHKB keymap for goatmaster (#5545)
* Adding new keymap folder for goadmaster * add switch break * zeal60 rgb backlight files * modified for red caps lock key * Remove return statement * Files removed * Add new RGB options * Back to original file
Diffstat (limited to 'keyboards/hs60/v2/keymaps/goatmaster/config.h')
-rw-r--r--keyboards/hs60/v2/keymaps/goatmaster/config.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/hs60/v2/keymaps/goatmaster/config.h b/keyboards/hs60/v2/keymaps/goatmaster/config.h
new file mode 100644
index 000000000..f63c90355
--- /dev/null
+++ b/keyboards/hs60/v2/keymaps/goatmaster/config.h
@@ -0,0 +1,37 @@
+/*
+Copyright 2018 Yiancar
+
+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
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+#pragma once
+
+/* Include overwrites for specific keymap */
+
+#define HS60_HHKB
+#undef PRODUCT_ID
+#define PRODUCT_ID 0x4855
+
+#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 0b0000000000000001
+#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_1 0b0000000000000001
+#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_2 0b0011000000000001
+#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0011000000000001
+#define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011100000000111
+
+#undef RGB_BACKLIGHT_CAPS_LOCK_INDICATOR
+#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 0, .s = 255 }, .index = 3-1 } //red