[Keymap] ANAVI Macro Pad 8 fix kodi and default (#10727)
Improvements and bug fixes for the keymaps kodi and default for ANAVI Macro Pad 8: - Add space to the end of string "Active layer: " for better visibility on the mini I2C OLED display for both keymaps - Replace "Main" with "Kodi" for the Kodi keymap - Add comment with reference to Kodi documentation for the available shortcuts in this keymap Signed-off-by: Leon Anavi <leon@anavi.org>
This commit is contained in:
		
							parent
							
								
									10782789be
								
							
						
					
					
						commit
						3c156e130b
					
				| @ -12,6 +12,18 @@ const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[] PROGMEM = {60, 30, 15}; | |||||||
| const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {20, 10, 4}; | const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {20, 10, 4}; | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
|  | /**
 | ||||||
|  |  * Kodi shortcuts: | ||||||
|  |  * | ||||||
|  |  * ESC - Previous menu OR Home screen | ||||||
|  |  * Enter - Select | ||||||
|  |  * X - Stop | ||||||
|  |  * Arrows to move | ||||||
|  |  * | ||||||
|  |  * For details have a look at: | ||||||
|  |  * https://kodi.wiki/view/Keyboard_controls
 | ||||||
|  |  */ | ||||||
|  | 
 | ||||||
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||||||
|   [_MAIN] = LAYOUT_ortho_2x4( |   [_MAIN] = LAYOUT_ortho_2x4( | ||||||
|      KC_ESC, KC_UP, KC_ENTER, KC_X, |      KC_ESC, KC_UP, KC_ENTER, KC_X, | ||||||
| @ -36,7 +48,7 @@ void oled_task_user(void) { | |||||||
| 
 | 
 | ||||||
|   switch (get_highest_layer(layer_state)) { |   switch (get_highest_layer(layer_state)) { | ||||||
|     case _MAIN: |     case _MAIN: | ||||||
|       oled_write_ln_P(PSTR("Main"), false); |       oled_write_ln_P(PSTR("Kodi"), false); | ||||||
|       break; |       break; | ||||||
|     case _FN: |     case _FN: | ||||||
|       oled_write_ln_P(PSTR("FN"), false); |       oled_write_ln_P(PSTR("FN"), false); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user