diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2017-12-19 16:50:58 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-19 16:50:58 +0100 |
commit | 9dd3e08fdd7e84f77692d5d611fb4ac67d6d82ba (patch) | |
tree | 5fe506ead8b4fec5f12cb240a68e88b6519390dd /keyboards/octagon/v2/indicator_leds.h | |
parent | b3bcafcc4bf1314632af822db9ddb1783ebb97cf (diff) | |
download | qmk_firmware-9dd3e08fdd7e84f77692d5d611fb4ac67d6d82ba.tar.gz qmk_firmware-9dd3e08fdd7e84f77692d5d611fb4ac67d6d82ba.tar.xz |
Octagon V2 Refactor (#2170)
* rename octagon_v2 directory to octagon directory
* Move octagon_v2 files to v2 sub-directory
* Edit readme files
* setup header files for building multiple versions of the Duck
Octagon.
* Changes as per Jack's PR 2170 comments
Diffstat (limited to 'keyboards/octagon/v2/indicator_leds.h')
-rw-r--r-- | keyboards/octagon/v2/indicator_leds.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/octagon/v2/indicator_leds.h b/keyboards/octagon/v2/indicator_leds.h new file mode 100644 index 000000000..9bb2c8ced --- /dev/null +++ b/keyboards/octagon/v2/indicator_leds.h @@ -0,0 +1,11 @@ +enum Device { + Device_PCBRGB, + Device_STATUSLED +}; + +void indicator_leds_set(bool leds[8]); +void backlight_toggle_rgb(bool enabled); +void backlight_set_rgb(uint8_t cfg[17][3]); +void backlight_init_ports(void); +void send_color(uint8_t r, uint8_t g, uint8_t b, enum Device device); +void show(void);
\ No newline at end of file |