summaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split
diff options
context:
space:
mode:
authorDanny Nguyen <danny@80pct.com>2017-03-14 14:51:48 +0100
committerDanny Nguyen <danny@80pct.com>2017-03-14 14:51:48 +0100
commit52ea58805a74fd4310f3c6a26271245001127cce (patch)
tree7cf1c7a50fecf6085b38e15481ec06f192aa8e02 /keyboards/lets_split
parent3df35f712eca0fddcd3aabf62de7f32d8a5cb11b (diff)
downloadqmk_firmware-52ea58805a74fd4310f3c6a26271245001127cce.tar.gz
qmk_firmware-52ea58805a74fd4310f3c6a26271245001127cce.tar.xz
Add RGB underglow, move keys to allow Adjust layer to be reached
Diffstat (limited to 'keyboards/lets_split')
-rw-r--r--keyboards/lets_split/keymaps/hexwire/Makefile1
-rw-r--r--keyboards/lets_split/keymaps/hexwire/README.md6
-rw-r--r--keyboards/lets_split/keymaps/hexwire/config.h6
-rw-r--r--keyboards/lets_split/keymaps/hexwire/keymap.c10
4 files changed, 15 insertions, 8 deletions
diff --git a/keyboards/lets_split/keymaps/hexwire/Makefile b/keyboards/lets_split/keymaps/hexwire/Makefile
new file mode 100644
index 000000000..1e3cebb14
--- /dev/null
+++ b/keyboards/lets_split/keymaps/hexwire/Makefile
@@ -0,0 +1 @@
+RGBLIGHT_ENABLE = yes
diff --git a/keyboards/lets_split/keymaps/hexwire/README.md b/keyboards/lets_split/keymaps/hexwire/README.md
index 2dc044646..edf2b6627 100644
--- a/keyboards/lets_split/keymaps/hexwire/README.md
+++ b/keyboards/lets_split/keymaps/hexwire/README.md
@@ -75,7 +75,7 @@ Hexwire's Let's Split Layout
|----+----+----+----+----+----| |----+----+----+----+----+----|
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
|----+----+----+----+----+----| |----+----+----+----+----+----|
- , , , , , , DEL , P0 ,PDOT, , ,
+ , , , , , , DEL , , P0 ,PDOT, ,
`----+----+----+----+----+----' `----+----+----+----+----+----'
```
@@ -87,9 +87,9 @@ Hexwire's Let's Split Layout
|----+----+----+----+----+----| |----+----+----+----+----+----|
DEL ,MPRV,MNXT,VOLU,PGUP,UNDS, EQL ,HOME, , , ,BSLS,
|----+----+----+----+----+----| |----+----+----+----+----+----|
- ,MSTP,MPLY,VOLD,PGDN,MINS, PLUS,END , , , , ,
+ MUTE,MSTP,MPLY,VOLD,PGDN,MINS, PLUS,END , , , , ,
|----+----+----+----+----+----| |----+----+----+----+----+----|
- , , , ,MUTE, , , , , , ,
+ , , , , , , , , , , ,
`----+----+----+----+----+----' `----+----+----+----+----+----'
```
diff --git a/keyboards/lets_split/keymaps/hexwire/config.h b/keyboards/lets_split/keymaps/hexwire/config.h
index cd766cc4f..b45214fe0 100644
--- a/keyboards/lets_split/keymaps/hexwire/config.h
+++ b/keyboards/lets_split/keymaps/hexwire/config.h
@@ -20,6 +20,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EE_HANDS
+#undef RGBLED_NUM
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 8
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
#ifdef SUBPROJECT_rev1
#include "../../rev1/config.h"
diff --git a/keyboards/lets_split/keymaps/hexwire/keymap.c b/keyboards/lets_split/keymaps/hexwire/keymap.c
index bae2e687e..796a1fcab 100644
--- a/keyboards/lets_split/keymaps/hexwire/keymap.c
+++ b/keyboards/lets_split/keymaps/hexwire/keymap.c
@@ -83,7 +83,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|----+----+----+----+----+----| |----+----+----+----+----+----|
,CPYP, , ,DOWN,LCBR, RCBR, P1 , P2 , P3 ,MINS, ,
//|----+----+----+----+----+----| |----+----+----+----+----+----|
- , , , , , , DEL , P0 ,PDOT, , ,
+ , , , , , , DEL , , P0 ,PDOT, ,
//`----+----+----+----+----+----' `----+----+----+----+----+----'
),
@@ -93,9 +93,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//|----+----+----+----+----+----| |----+----+----+----+----+----|
DEL ,MPRV,MNXT,VOLU,PGUP,UNDS, EQL ,HOME, , , ,BSLS,
//|----+----+----+----+----+----| |----+----+----+----+----+----|
- ,MSTP,MPLY,VOLD,PGDN,MINS, PLUS,END , , , , ,
+ MUTE,MSTP,MPLY,VOLD,PGDN,MINS, PLUS,END , , , , ,
//|----+----+----+----+----+----| |----+----+----+----+----+----|
- , , , ,MUTE, , , , , , ,
+ , , , , , , , , , , ,
//`----+----+----+----+----+----' `----+----+----+----+----+----'
),
@@ -113,7 +113,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Adjust (Lower + Raise)
* ,-----------------------------------------------------------------------------------.
- * | | Reset| | | | | | | | | | Del |
+ * | | Reset|RGB Tg|RGB Md|Hue Up|Hue Dn|Sat Up|Sat Dn|Val Up|Val Dn| | |
* |------+------+------+------+------+-------------+------+------+------+------+------|
* | | | |Aud on|Audoff|AGnorm|AGswap|Qwerty|Colemk|Dvorak| | |
* |------+------+------+------+------+------|------+------+------+------+------+------|
@@ -123,7 +123,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `-----------------------------------------------------------------------------------'
*/
[_ADJUST] = KEYMAP( \
- _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
+ _______, RESET , RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, _______, \
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ \