summaryrefslogtreecommitdiffstats
path: root/keyboards/hs60/v2/keymaps/hhkb_via/config.h
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2019-03-04 15:28:33 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-04 15:28:33 +0100
commit7bfe0879bfa21c041ba256826158d5d03c8bcfe4 (patch)
tree5897d38d273c2ee0f9e96279d468ec168dd61000 /keyboards/hs60/v2/keymaps/hhkb_via/config.h
parent043ef40b92deee76a048612e82436c1b25f03433 (diff)
downloadqmk_firmware-7bfe0879bfa21c041ba256826158d5d03c8bcfe4.tar.gz
qmk_firmware-7bfe0879bfa21c041ba256826158d5d03c8bcfe4.tar.xz
Separate keymaps to VIA enabled/dissabled. (#5302)
* Separate keymaps to VIA enabled/dissabled. - Default rules.mk has been changed to disable via. - VIA keymaps have been added for default keymaps. * Update naming
Diffstat (limited to 'keyboards/hs60/v2/keymaps/hhkb_via/config.h')
-rw-r--r--keyboards/hs60/v2/keymaps/hhkb_via/config.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/keyboards/hs60/v2/keymaps/hhkb_via/config.h b/keyboards/hs60/v2/keymaps/hhkb_via/config.h
new file mode 100644
index 000000000..fc1b6d8f4
--- /dev/null
+++ b/keyboards/hs60/v2/keymaps/hhkb_via/config.h
@@ -0,0 +1,34 @@
+/*
+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