aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hs60
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2019-02-25 21:16:20 -0500
committerDrashna Jaelre <drashna@live.com>2019-02-25 18:16:20 -0800
commit7a89b39aadc347a9bbb73601b52ac65704f09da8 (patch)
tree3c1be7759dbfdf1b5f1b859a33552c9a61e73c77 /keyboards/hs60
parent5838c458d74b6a4af6c65a9d6cdf346db999e980 (diff)
downloadqmk_firmware-7a89b39aadc347a9bbb73601b52ac65704f09da8.tar.gz
qmk_firmware-7a89b39aadc347a9bbb73601b52ac65704f09da8.zip
[Keymap] HS60 v2 keymap updates (#5250)
* Add backlight controls * Add backlight controls and remove RGB underglow * Make HS60 board specific changes to readme * Remove BL_TOGG as it isn't use on this board
Diffstat (limited to 'keyboards/hs60')
-rw-r--r--keyboards/hs60/v2/keymaps/stanrc85/config.h23
-rw-r--r--keyboards/hs60/v2/keymaps/stanrc85/keymap.c14
-rw-r--r--keyboards/hs60/v2/keymaps/stanrc85/readme.md50
-rw-r--r--keyboards/hs60/v2/keymaps/stanrc85/rules.mk2
4 files changed, 59 insertions, 30 deletions
diff --git a/keyboards/hs60/v2/keymaps/stanrc85/config.h b/keyboards/hs60/v2/keymaps/stanrc85/config.h
index 4be7965e3..4443dcd50 100644
--- a/keyboards/hs60/v2/keymaps/stanrc85/config.h
+++ b/keyboards/hs60/v2/keymaps/stanrc85/config.h
@@ -1,25 +1,2 @@
1/*
2Copyright 2019 Stanrc85
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#pragma once
18
19/* Include overwrites for specific keymap */
20
21#define HS60_ANSI
22#undef PRODUCT_ID
23#define PRODUCT_ID 0x4854
24#define TAPPING_TERM 200 1#define TAPPING_TERM 200
25#define RETRO_TAPPING 2#define RETRO_TAPPING
diff --git a/keyboards/hs60/v2/keymaps/stanrc85/keymap.c b/keyboards/hs60/v2/keymaps/stanrc85/keymap.c
index d8d79a581..add060903 100644
--- a/keyboards/hs60/v2/keymaps/stanrc85/keymap.c
+++ b/keyboards/hs60/v2/keymaps/stanrc85/keymap.c
@@ -64,13 +64,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
64 _______, _______, _______, _______, _______, _______, _______, _______), 64 _______, _______, _______, _______, _______, _______, _______, _______),
65 65
66 [3] = LAYOUT_60_ansi( 66 [3] = LAYOUT_60_ansi(
67 _______, RGB_TOG, RGB_MOD, RGB_VAD, RGB_VAI, RGB_SAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, 67 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
68 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, 68 _______, EF_INC, ES_INC, S1_INC, H1_INC, S2_INC, H2_INC, BR_INC, _______, _______, _______, _______, _______, RESET,
69 _______, _______, _______, TG(1), _______, _______, _______, _______, _______, _______, _______, _______, _______, 69 TG(1), EF_DEC, ES_DEC, S1_DEC, H1_DEC, S2_DEC, H2_DEC, BR_DEC, _______, _______, _______, _______, _______,
70 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, 70 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
71 _______, _______, _______, _______, _______, _______, _______, _______) 71 _______, _______, _______, _______, _______, _______, _______, _______)
72}; 72};
73 73
74// Backlight specific keys:
75// EF_INC, EF_DEC, // next/previous backlight effect
76// H1_INC, H1_DEC, // Color 1 hue increase/decrease
77// S1_INC, S1_DEC, // Color 1 saturation increase/decrease
78// H2_INC, H2_DEC, // Color 2 hue increase/decrease
79// S2_INC, S2_DEC, // Color 2 saturation increase/decrease
80// BR_INC, BR_DEC, // backlight brightness increase/decrease
81
74bool process_record_user(uint16_t keycode, keyrecord_t *record) { 82bool process_record_user(uint16_t keycode, keyrecord_t *record) {
75 return true; 83 return true;
76} 84}
diff --git a/keyboards/hs60/v2/keymaps/stanrc85/readme.md b/keyboards/hs60/v2/keymaps/stanrc85/readme.md
index 650871a5e..4e978e771 100644
--- a/keyboards/hs60/v2/keymaps/stanrc85/readme.md
+++ b/keyboards/hs60/v2/keymaps/stanrc85/readme.md
@@ -1,6 +1,48 @@
1The default keymap for ANSI HS60 V2 1<!-- Copyright 2019 Stanrc85
2===================================
3 2
4![Layout image](https://i.imgur.com/m8t5CfE.png) 3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
5 7
6Default layer is normal ANSI and Fn layer is used for RGB functions, Volume control and arrow cluster \ No newline at end of file 8This program is distributed in the hope that it will be useful,
9but WITHOUT ANY WARRANTY; without even the implied warranty of
10MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11GNU General Public License for more details.
12
13You should have received a copy of the GNU General Public License
14along with this program. If not, see <http://www.gnu.org/licenses/>.-->
15
16# Stanrc85's Standard ANSI 60% Layout
17
18## Keymap Notes
19- Layer 0 is default QWERTY layout with additional custom features:
20 - SpaceFN to function layer 2 on `Space`
21 - `CTRL` when held and `ESC` when tapped on `CAPS LOCK`
22 - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L`
23 - Tap Dance on `ESC` for `ESC` and ` ` `
24
25![Base QWERTY Layer](https://imgur.com/lGcyLJx.png)
26
27- Layer 1 is default QWERTY with no custom features used mostly for gaming
28 - Enabled by `Fn2+CAPS` from base layer
29
30![Default ANSI Layer](https://imgur.com/M7T9PNT.png)
31
32- Layer 2 is Function layer:
33 - F keys
34 - Arrows
35 - Volume and Media controls
36 - AutoHotkey shortcuts based on [Speaker Control](https://github.com/stanrc85/Speaker-Control) script
37 - AHK Mic is used to mute/unmute microphone
38 - AHK Speaker switches audio output between headphones and speakers
39
40![Function Layer](https://imgur.com/YPl0JrU.png)
41
42- Layer 3 is Backlight control and RESET
43 - `Fn2+CAPS` used to toggle Default QWERTY layer on and off
44
45![RGB and RESET Layer](https://imgur.com/1ScpRE4.png)
46
47### Build
48To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85`.
diff --git a/keyboards/hs60/v2/keymaps/stanrc85/rules.mk b/keyboards/hs60/v2/keymaps/stanrc85/rules.mk
index e5ddcae8d..2a173b316 100644
--- a/keyboards/hs60/v2/keymaps/stanrc85/rules.mk
+++ b/keyboards/hs60/v2/keymaps/stanrc85/rules.mk
@@ -1 +1,3 @@
1TAP_DANCE_ENABLE = yes 1TAP_DANCE_ENABLE = yes
2DYNAMIC_KEYMAP_ENABLE = no
3