[Keyboard] Updates for Sol 2 (#7746)
Add Numpad to keymap Fix OLED rotation Add LED locations for Starfighter case
This commit is contained in:
		
							parent
							
								
									2406c04d89
								
							
						
					
					
						commit
						f08ffc2715
					
				
					 6 changed files with 38 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
} };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue