1
0
Fork 0

Add dummy backlight/LED functions for keymaps that require them

This commit is contained in:
Yu He 2017-08-12 17:15:24 +02:00 committed by Jack Humbert
parent 52f4a38cb3
commit cb74c8dc46
2 changed files with 23 additions and 8 deletions

View file

@ -17,6 +17,12 @@
#define MATRIX_ROWS 6
#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 */
#define DISABLE_SPACE_CADET_ROLLOVER

View file

@ -10,14 +10,23 @@
void init_ergodox(void);
inline void ergodox_right_led_1_off(void) {}
inline void ergodox_right_led_1_on(void) {}
inline void ergodox_right_led_2_off(void) {}
inline void ergodox_right_led_2_on(void) {}
inline void ergodox_right_led_3_off(void) {}
inline void ergodox_right_led_3_on(void) {}
inline void ergodox_board_led_off(void) {}
inline void ergodox_board_led_on(void) {}
inline void ergodox_right_led_1_off(void) {}
inline void ergodox_right_led_1_on(void) {}
inline void ergodox_right_led_2_off(void) {}
inline void ergodox_right_led_2_on(void) {}
inline void ergodox_right_led_3_off(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_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( \
\