aboutsummaryrefslogtreecommitdiff
path: root/quantum/led_matrix.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-04-13 19:51:03 +1000
committerGitHub <noreply@github.com>2021-04-13 19:51:03 +1000
commitce99f98bb5217ede628cfbf7e20924346b4279da (patch)
tree20079e250b26339964ff3eb9c588d35474cbe8c5 /quantum/led_matrix.h
parent15f7cc3bde0199afe3b49718fa7b73bc6771e04b (diff)
downloadqmk_firmware-ce99f98bb5217ede628cfbf7e20924346b4279da.tar.gz
qmk_firmware-ce99f98bb5217ede628cfbf7e20924346b4279da.zip
LED Matrix: suspend code (#12509)
Diffstat (limited to 'quantum/led_matrix.h')
-rw-r--r--quantum/led_matrix.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/quantum/led_matrix.h b/quantum/led_matrix.h
index ba8f0279a..48c9483b2 100644
--- a/quantum/led_matrix.h
+++ b/quantum/led_matrix.h
@@ -48,8 +48,11 @@
48#endif 48#endif
49 49
50enum led_matrix_effects { 50enum led_matrix_effects {
51 LED_MATRIX_UNIFORM_BRIGHTNESS = 1, 51 LED_MATRIX_NONE = 0,
52
53 LED_MATRIX_UNIFORM_BRIGHTNESS,
52 // All new effects go above this line 54 // All new effects go above this line
55
53 LED_MATRIX_EFFECT_MAX 56 LED_MATRIX_EFFECT_MAX
54}; 57};
55 58
@@ -63,7 +66,7 @@ uint8_t led_matrix_map_row_column_to_led(uint8_t row, uint8_t column, uint8_t *l
63void led_matrix_set_value(int index, uint8_t value); 66void led_matrix_set_value(int index, uint8_t value);
64void led_matrix_set_value_all(uint8_t value); 67void led_matrix_set_value_all(uint8_t value);
65 68
66bool process_led_matrix(uint16_t keycode, keyrecord_t *record); 69void process_led_matrix(uint8_t row, uint8_t col, bool pressed);
67 70
68void led_matrix_task(void); 71void led_matrix_task(void);
69 72