From 8c02748c8121c083a907abc1b0b9388c4cf851a3 Mon Sep 17 00:00:00 2001 From: Danny Nguyen Date: Tue, 19 Sep 2017 13:23:34 -0400 Subject: Update Viterbi keymaps --- keyboards/viterbi/keymaps/default/Makefile | 5 ----- keyboards/viterbi/keymaps/default/rules.mk | 5 +++++ keyboards/viterbi/keymaps/dwallace/Makefile | 5 ----- keyboards/viterbi/keymaps/dwallace/config.h | 2 +- keyboards/viterbi/keymaps/dwallace/keymap.c | 4 +++- keyboards/viterbi/keymaps/dwallace/rules.mk | 5 +++++ keyboards/viterbi/keymaps/hexwire/Makefile | 5 ----- keyboards/viterbi/keymaps/hexwire/rules.mk | 5 +++++ 8 files changed, 19 insertions(+), 17 deletions(-) delete mode 100644 keyboards/viterbi/keymaps/default/Makefile create mode 100644 keyboards/viterbi/keymaps/default/rules.mk delete mode 100644 keyboards/viterbi/keymaps/dwallace/Makefile create mode 100644 keyboards/viterbi/keymaps/dwallace/rules.mk delete mode 100644 keyboards/viterbi/keymaps/hexwire/Makefile create mode 100644 keyboards/viterbi/keymaps/hexwire/rules.mk (limited to 'keyboards/viterbi/keymaps') diff --git a/keyboards/viterbi/keymaps/default/Makefile b/keyboards/viterbi/keymaps/default/Makefile deleted file mode 100644 index 1e57612788..0000000000 --- a/keyboards/viterbi/keymaps/default/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -RGBLIGHT_ENABLE = yes - -ifndef QUANTUM_DIR - include ../../../../Makefile -endif diff --git a/keyboards/viterbi/keymaps/default/rules.mk b/keyboards/viterbi/keymaps/default/rules.mk new file mode 100644 index 0000000000..1e57612788 --- /dev/null +++ b/keyboards/viterbi/keymaps/default/rules.mk @@ -0,0 +1,5 @@ +RGBLIGHT_ENABLE = yes + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif diff --git a/keyboards/viterbi/keymaps/dwallace/Makefile b/keyboards/viterbi/keymaps/dwallace/Makefile deleted file mode 100644 index 1e57612788..0000000000 --- a/keyboards/viterbi/keymaps/dwallace/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -RGBLIGHT_ENABLE = yes - -ifndef QUANTUM_DIR - include ../../../../Makefile -endif diff --git a/keyboards/viterbi/keymaps/dwallace/config.h b/keyboards/viterbi/keymaps/dwallace/config.h index 558ae0627e..79bd8fd352 100644 --- a/keyboards/viterbi/keymaps/dwallace/config.h +++ b/keyboards/viterbi/keymaps/dwallace/config.h @@ -35,7 +35,7 @@ along with this program. If not, see . #undef RGBLED_NUM #define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 12 +#define RGBLED_NUM 14 #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 diff --git a/keyboards/viterbi/keymaps/dwallace/keymap.c b/keyboards/viterbi/keymaps/dwallace/keymap.c index c884c8a374..38d63ffaa9 100644 --- a/keyboards/viterbi/keymaps/dwallace/keymap.c +++ b/keyboards/viterbi/keymaps/dwallace/keymap.c @@ -19,6 +19,8 @@ enum custom_keycodes { #define KC_SAPP LGUI(KC_TAB) // Switch between applications #define KC_FN1 MO(_FN) #define KC_LCAG LCAG(KC_NO) +#define KC_RTOG RGB_TOG +#define KC_RMOD RGB_MOD #define KC_RVAD RGB_VAD #define KC_RVAI RGB_VAI #define KC_CLRM KC_NO // TODO: Clear sticky modifiers @@ -48,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //|----+----+----+----+----+----+----| |----+----+----+----+----+----+----| , , , ,RST , , , , , , , , , , //|----+----+----+----+----+----+----| |----+----+----+----+----+----+----| - , , , , , , , , ,RVAD,RVAI, , , , + , , , , , , , RTOG,RMOD,RVAD,RVAI, , , , //|----+----+----+----+----+----+----| |----+----+----+----+----+----+----| , , , , , , , ,MUTE,VOLD,VOLU, , , , //|----+----+----+----+----+----+----| |----+----+----+----+----+----+----| diff --git a/keyboards/viterbi/keymaps/dwallace/rules.mk b/keyboards/viterbi/keymaps/dwallace/rules.mk new file mode 100644 index 0000000000..1e57612788 --- /dev/null +++ b/keyboards/viterbi/keymaps/dwallace/rules.mk @@ -0,0 +1,5 @@ +RGBLIGHT_ENABLE = yes + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif diff --git a/keyboards/viterbi/keymaps/hexwire/Makefile b/keyboards/viterbi/keymaps/hexwire/Makefile deleted file mode 100644 index 1e57612788..0000000000 --- a/keyboards/viterbi/keymaps/hexwire/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -RGBLIGHT_ENABLE = yes - -ifndef QUANTUM_DIR - include ../../../../Makefile -endif diff --git a/keyboards/viterbi/keymaps/hexwire/rules.mk b/keyboards/viterbi/keymaps/hexwire/rules.mk new file mode 100644 index 0000000000..1e57612788 --- /dev/null +++ b/keyboards/viterbi/keymaps/hexwire/rules.mk @@ -0,0 +1,5 @@ +RGBLIGHT_ENABLE = yes + +ifndef QUANTUM_DIR + include ../../../../Makefile +endif -- cgit v1.2.3