Browse Source

Fix lighting issue for gamepad

Drashna Jaelre 6 years ago
parent
commit
2a6cb04876
1 changed files with 2 additions and 2 deletions
  1. 2 2
      layouts/community/ergodox/drashna/keymap.c

+ 2 - 2
layouts/community/ergodox/drashna/keymap.c

@@ -424,8 +424,8 @@ void rgb_matrix_indicators_user(void) {
                 rgb_matrix_set_color(35, 0x00, 0xFF, 0xFF); // D
                 rgb_matrix_set_color(34, 0x7A, 0x00, 0xFF); // F
 
-                rgb_matrix_set_color(27, 0xFF, 0xFF, 0xFF); // 1
-                rgb_matrix_set_color(26, 0x00, 0xFF, 0x00); // 2
+                rgb_matrix_set_color(userspace_config.swapped_numbers ? 27 : 26, 0xFF, 0xFF, 0xFF); // 1
+                rgb_matrix_set_color(userspace_config.swapped_numbers ? 26 : 27, 0x00, 0xFF, 0x00); // 2
                 rgb_matrix_set_color(25, 0x7A, 0x00, 0xFF); // 3
 
                 break;