aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c
diff options
context:
space:
mode:
authorM-AS <matthewtransformer@hotmail.com>2019-05-28 06:58:45 +0700
committerDrashna Jaelre <drashna@live.com>2019-05-27 16:58:45 -0700
commita23c3396a9a1e4aed8020c47e7dc8f2624085017 (patch)
treebc5356416b9b9fe268204ec1aa8fc1bdefe888d2 /keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c
parent6c7c178cd2b9d535e76a0cd9dd3d1293b8ba1ed2 (diff)
downloadfirmware-a23c3396a9a1e4aed8020c47e7dc8f2624085017.tar.gz
firmware-a23c3396a9a1e4aed8020c47e7dc8f2624085017.tar.bz2
firmware-a23c3396a9a1e4aed8020c47e7dc8f2624085017.zip
[Keymap] Updated personal keymaps (#5993)
* added personal CTRL keymap * added personal dz60rgb keymap * enabled new rgb effect * added space cadet shift * media player track buttons now orange * updated keymaps with rgb setting and visual HSV setting preview * fixed source stuff? * added support for underglow toggle (bugged to all hell) * everything now behaves as expected when ti comes to RGB toggles, thank god * removed ifdefs * changed color of MAS_CRM * uh, whitespace * changed rgb positions and modifiers within RGB matrix thing for CTRL and DZ60RGB * updated keymap to work kindof * KEYMAP: changed list of rgb effects * changed CTRL rgb defaults * KEYMAP: new LED layout for ctrl
Diffstat (limited to 'keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c')
-rw-r--r--keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c b/keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c
index 2823292e6..112be66d6 100644
--- a/keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c
+++ b/keyboards/massdrop/ctrl/keymaps/matthewrobo/keymap.c
@@ -80,14 +80,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
};
-extern rgb_led g_rgb_leds[DRIVER_LED_TOTAL];
-void set_color_helper(int index, uint8_t red, uint8_t green, uint8_t blue)
-{
- if (!HAS_ANY_FLAGS(g_rgb_leds[index].flags, rgb_matrix_get_flags()))
- { return; }
-
- rgb_matrix_set_color(index, red, green, blue);
-}
void rgb_matrix_indicators_user(void)
{
@@ -225,8 +217,9 @@ void rgb_matrix_indicators_user(void)
void matrix_init_user(void)
{
autoshift_disable();
- rgb_matrix_sethsv(192, 112, 255);
- rgb_matrix_mode(4);
+ rgb_matrix_sethsv(128, 255, 255);
+ // rgb_matrix_sethsv(192, 112, 255);
+ // rgb_matrix_mode(4);
};
// Runs constantly in the background, in a loop.