mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-21 09:03:23 +00:00
e16b39f0c2
* Initial Commit Port from xauser's jetfire code. Does not compile yet * fix up keymap from uint8 to uin16 * update rules file to contain custom matrix * Good stopping point Still lots of compile errors but I'm getting there. * fix a few more compile errors * move a few functions around to help with compiling * Finally got it all to compile * Get rid of that old KEYMAP macro * edit readme * Put my name everywhere and some minor code clean ups * start to remove that kc nonsense * fix keymap compilation issues * add reset key info * better human readable formatting * match the duck default layout * add confgurator support * clarify reset key * might be a good idea to use the correct pin * get the riight keycode for RGB * include an ALL layout * I tried to fix the formatting....sigh * add functons to ensure Configurator compile-ability * move jetfire to duck directory * Moved and renamed things as per Drashna's PR comments as his back was hurting as he reviewed this
19 lines
424 B
C
19 lines
424 B
C
#ifndef BACKLIGHT_LED_H
|
|
#define BACKLIGHT_LED_H
|
|
|
|
enum Device {
|
|
Device_PCBRGB,
|
|
Device_STATELED
|
|
};
|
|
|
|
void backlight_init_ports(void);
|
|
void backlight_set_state(bool cfg[7]);
|
|
void backlight_update_state(void);
|
|
void backlight_toggle_rgb(bool enabled);
|
|
void backlight_set_rgb(uint8_t cfg[17][3]);
|
|
void backlight_set(uint8_t level);
|
|
void send_color(uint8_t r, uint8_t g, uint8_t b, enum Device device);
|
|
void show(void);
|
|
|
|
#endif
|