diff options
author | Maarten Dekkers <maartenn2001@gmail.com> | 2017-07-05 17:43:05 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-05 11:48:19 -0400 |
commit | 58139f87e456686eb8765a789ddc8aae9c7c99ce (patch) | |
tree | e2322048ebd8f66b0367ef9cf4ae95d71d869b6f | |
parent | 684c381aeed2709a689479d4e398e0c7dde600f6 (diff) |
Fixed arrow up and rgb config
-rwxr-xr-x | keyboards/tada68/config.h | 10 | ||||
-rwxr-xr-x | keyboards/tada68/keymaps/default/keymap.c | 2 | ||||
-rwxr-xr-x | keyboards/tada68/keymaps/rgb/config.h | 9 | ||||
-rwxr-xr-x | keyboards/tada68/keymaps/rgb/keymap.c | 2 |
4 files changed, 11 insertions, 12 deletions
diff --git a/keyboards/tada68/config.h b/keyboards/tada68/config.h index 856509fd04..3e011bc754 100755 --- a/keyboards/tada68/config.h +++ b/keyboards/tada68/config.h @@ -63,16 +63,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define BACKLIGHT_LEVELS 4 -/* Underlight configuration - */ - -#define RGB_DI_PIN F5 // See the readme for wiring your ws2812's -#define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 2 // Number of LEDs -#define RGBLIGHT_HUE_STEP 8 -#define RGBLIGHT_SAT_STEP 8 -#define RGBLIGHT_VAL_STEP 8 - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/tada68/keymaps/default/keymap.c b/keyboards/tada68/keymaps/default/keymap.c index d6cba7e1c5..8e7cbdaf26 100755 --- a/keyboards/tada68/keymaps/default/keymap.c +++ b/keyboards/tada68/keymaps/default/keymap.c @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [_FL] = KEYMAP_ANSI( _______, KC_F1 ,KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS , \ - _______,_______,_______,_______, KC_UP, _______,_______,_______,_______,_______,_______,_______,_______, _______,KC_HOME, \ + _______,_______, KC_UP,_______,_______, _______,_______,_______,_______,_______,_______,_______,_______, _______,KC_HOME, \ _______,KC_LEFT,KC_DOWN,KC_RIGHT,_______,_______,_______,_______,_______,_______,_______,_______, _______,KC_END, \ _______,_______,_______,BL_DEC, BL_TOGG,BL_INC, _______,KC_VOLD,KC_VOLU,KC_MUTE,_______,KC_BTN1, KC_MS_U, KC_BTN2, \ _______,_______,_______, _______, _______,_______,_______,KC_MS_L,KC_MS_D, KC_MS_R), diff --git a/keyboards/tada68/keymaps/rgb/config.h b/keyboards/tada68/keymaps/rgb/config.h new file mode 100755 index 0000000000..5dcdad12e5 --- /dev/null +++ b/keyboards/tada68/keymaps/rgb/config.h @@ -0,0 +1,9 @@ +#include "../../config.h" + +/* WS2812B RGB Underglow LED */ +#define RGB_DI_PIN F5 // See readme.md for wiring your led's +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 16 // Number of LEDs. Change this to match your use case. +#define RGBLIGHT_HUE_STEP 8 +#define RGBLIGHT_SAT_STEP 8 +#define RGBLIGHT_VAL_STEP 8
\ No newline at end of file diff --git a/keyboards/tada68/keymaps/rgb/keymap.c b/keyboards/tada68/keymaps/rgb/keymap.c index ef267348d2..4634e5e3a4 100755 --- a/keyboards/tada68/keymaps/rgb/keymap.c +++ b/keyboards/tada68/keymaps/rgb/keymap.c @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { */ [_FL] = KEYMAP_ANSI( _______, KC_F1 ,KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS , \ - _______,_______,_______,_______, KC_UP, RGB_TOG,RGB_MOD,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD, _______,KC_HOME, \ + _______,_______,KC_UP,_______,_______, RGB_TOG,RGB_MOD,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD, _______,KC_HOME, \ _______,KC_LEFT,KC_DOWN,KC_RIGHT,_______,_______,_______,_______,_______,_______,_______,_______, _______,KC_END, \ _______,_______,_______,BL_DEC, BL_TOGG,BL_INC, _______,KC_VOLD,KC_VOLU,KC_MUTE,_______,KC_BTN1, KC_MS_U, KC_BTN2, \ _______,_______,_______, _______, _______,_______,_______,KC_MS_L,KC_MS_D, KC_MS_R), |