diff options
author | Legonut <legonut3@gmail.com> | 2020-01-02 16:03:19 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2020-01-02 13:03:19 -0800 |
commit | f08ffc271534ebe2bc4ea794bf95159c006688ad (patch) | |
tree | 029c4e96def911ae729e76b3610db4a36d1bc39f /keyboards/rgbkb/sol/rev2 | |
parent | 2406c04d89a8a289b131c43759beca593cc9520c (diff) | |
download | qmk_firmware-f08ffc271534ebe2bc4ea794bf95159c006688ad.tar.gz qmk_firmware-f08ffc271534ebe2bc4ea794bf95159c006688ad.zip |
[Keyboard] Updates for Sol 2 (#7746)
Add Numpad to keymap
Fix OLED rotation
Add LED locations for Starfighter case
Diffstat (limited to 'keyboards/rgbkb/sol/rev2')
-rw-r--r-- | keyboards/rgbkb/sol/rev2/config.h | 2 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev2/post_rules.mk | 2 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev2/rev2.c | 20 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev2/rules.mk | 1 |
4 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/rgbkb/sol/rev2/config.h b/keyboards/rgbkb/sol/rev2/config.h index af74b7e46f..ee5ad924ab 100644 --- a/keyboards/rgbkb/sol/rev2/config.h +++ b/keyboards/rgbkb/sol/rev2/config.h @@ -33,6 +33,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #ifdef FULLHAND_ENABLE #define FULLHAND_LEDS 24 +#elif SF_ENABLE + #define FULLHAND_LEDS 38 #else #define FULLHAND_LEDS 0 #endif diff --git a/keyboards/rgbkb/sol/rev2/post_rules.mk b/keyboards/rgbkb/sol/rev2/post_rules.mk index 0cbf430ad3..ab03325c9f 100644 --- a/keyboards/rgbkb/sol/rev2/post_rules.mk +++ b/keyboards/rgbkb/sol/rev2/post_rules.mk @@ -20,6 +20,8 @@ endif ifeq ($(strip $(FULLHAND_ENABLE)), yes) OPT_DEFS += -DFULLHAND_ENABLE +else ifeq ($(strip $(SF_ENABLE)), yes) + OPT_DEFS += -DSF_ENABLE endif ifeq ($(strip $(EXTRA_ENCODERS_ENABLE)), yes) diff --git a/keyboards/rgbkb/sol/rev2/rev2.c b/keyboards/rgbkb/sol/rev2/rev2.c index 467aa18e44..e00c485609 100644 --- a/keyboards/rgbkb/sol/rev2/rev2.c +++ b/keyboards/rgbkb/sol/rev2/rev2.c @@ -33,6 +33,11 @@ led_config_t g_led_config = { { #ifdef FULLHAND_ENABLE { 2, 88 }, { 2, 103 }, { 2, 117 }, { 2, 132 }, { 10, 145 }, { 25, 145 }, { 39, 145 }, { 54, 145 }, { 69, 145 }, { 79, 136 }, { 87, 124 }, { 94, 111 }, +// SF Left +#elif SF_ENABLE + { 0, 88 }, { 0, 103 }, { 0, 117 }, { 0, 130 }, { 9, 142 }, { 24, 142 }, { 38, 142 }, + { 53, 142 }, { 67, 142 }, { 79, 135 }, { 86, 123 }, { 93, 110 }, { 88, 102 }, { 74, 101 }, + { 60, 91 }, { 45, 98 }, { 33, 92 }, { 23, 86 }, { 10, 80 }, #endif // Left Hand Mapped Right to Left { 213, 14 }, { 196, 14 }, { 182, 14 }, { 168, 14 }, { 154, 14 }, { 140, 14 }, { 122, 14 }, @@ -49,6 +54,11 @@ led_config_t g_led_config = { { #ifdef FULLHAND_ENABLE ,{ 222, 88 }, { 222, 103 }, { 222, 117 }, { 222, 132 }, { 214, 145 }, { 199, 145 }, { 185, 145 }, { 170, 145 }, { 155, 145 }, { 145, 136 }, { 137, 124 }, { 130, 111 } +// SF Right +#elif SF_ENABLE + ,{ 224, 88 }, { 224, 103 }, { 224, 117 }, { 224, 130 }, { 215, 142 }, { 200, 142 }, { 186, 142 }, + { 171, 142 }, { 157, 142 }, { 145, 135 }, { 138, 123 }, { 131, 110 }, { 136, 102 }, { 150, 101 }, + { 164, 91 }, { 179, 98 }, { 191, 92 }, { 201, 86 }, { 214, 80 } #endif }, { // Left Hand Mapped Left to Right @@ -66,6 +76,11 @@ led_config_t g_led_config = { { #ifdef FULLHAND_ENABLE 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, +// SF Left +#elif SF_ENABLE + 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, #endif // Left Hand Mapped Right to Left 1, 4, 4, 4, 4, 4, 1, @@ -82,6 +97,11 @@ led_config_t g_led_config = { { #ifdef FULLHAND_ENABLE ,2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 +// SF Right +#elif SF_ENABLE + ,2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2 #endif } }; diff --git a/keyboards/rgbkb/sol/rev2/rules.mk b/keyboards/rgbkb/sol/rev2/rules.mk index 87b400fa14..40f4c4b8ca 100644 --- a/keyboards/rgbkb/sol/rev2/rules.mk +++ b/keyboards/rgbkb/sol/rev2/rules.mk @@ -22,6 +22,7 @@ RGB_MATRIX_FRAMEBUFFER_EFFECTS = no # Enable frame buffer effects like the typin RGBLIGHT_FULL_POWER = no # Allow maximum RGB brightness for RGBLIGHT or RGB_MATRIX. Otherwise, limited to a safe level for a normal USB-A port FULLHAND_ENABLE = no # Enables the additional 24 Full Hand LEDs +SF_ENABLE = no # Enables the additional 38 Starfighter LEDs IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) # Misc |