Add dummy backlight/LED functions for keymaps that require them

pull/1440/head
Yu He 7 years ago committed by Jack Humbert
parent 52f4a38cb3
commit cb74c8dc46

@ -17,6 +17,12 @@
#define MATRIX_ROWS 6 #define MATRIX_ROWS 6
#define MATRIX_COLS 14 #define MATRIX_COLS 14
/* number of backlight levels */
#define BACKLIGHT_LEVELS 3
#define LED_BRIGHTNESS_LO 15
#define LED_BRIGHTNESS_HI 255
/* fix space cadet rollover issue */ /* fix space cadet rollover issue */
#define DISABLE_SPACE_CADET_ROLLOVER #define DISABLE_SPACE_CADET_ROLLOVER

@ -16,8 +16,17 @@ inline void ergodox_right_led_2_off(void) {}
inline void ergodox_right_led_2_on(void) {} inline void ergodox_right_led_2_on(void) {}
inline void ergodox_right_led_3_off(void) {} inline void ergodox_right_led_3_off(void) {}
inline void ergodox_right_led_3_on(void) {} inline void ergodox_right_led_3_on(void) {}
inline void ergodox_right_led_on(uint8_t l) {}
inline void ergodox_right_led_off(uint8_t l) {}
inline void ergodox_board_led_off(void) {} inline void ergodox_board_led_off(void) {}
inline void ergodox_board_led_on(void) {} inline void ergodox_board_led_on(void) {}
inline void ergodox_led_all_on(void) {}
inline void ergodox_led_all_off(void) {}
inline void ergodox_right_led_1_set(uint8_t n) {}
inline void ergodox_right_led_2_set(uint8_t n) {}
inline void ergodox_right_led_3_set(uint8_t n) {}
inline void ergodox_right_led_set(uint8_t l, uint8_t n) {}
inline void ergodox_led_all_set(uint8_t n) {}
#define KEYMAP( \ #define KEYMAP( \
\ \

Loading…
Cancel
Save