Keyboard: Duck Jetfire QMK Support (#3752)
* 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
This commit is contained in:
parent
a68057852b
commit
e16b39f0c2
13 changed files with 1058 additions and 0 deletions
18
keyboards/duck/jetfire/backlight_led.h
Normal file
18
keyboards/duck/jetfire/backlight_led.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue