diff options
author | WarmCat <32871908+WarmCatUK@users.noreply.github.com> | 2018-05-10 16:28:58 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-05-10 08:28:58 -0700 |
commit | 933842067df08e7d0515049509bdd3fa73b334e1 (patch) | |
tree | 0e777c72e7f357ec45c9f294d80bda3f5915302e /keyboards/jj50/backlight_custom.h | |
parent | c5264d6d89899f19bdeeaf9e2daeb90531617a48 (diff) | |
download | qmk_firmware-933842067df08e7d0515049509bdd3fa73b334e1.tar.gz |
Backlight and RGB now working for JJ50 (#2929)
* Added support for JJ50 from KPRepublic, no rgb or backlight control yet. Added as a layout of ymd96 at the moment (same microprocessor). Basic keymap with three layers to get started.
* Added support for JJ50
* Tidied up jj50 code, backlight and RGB is now working.
* Renaming "KEYMAP" to "LAYOUT" to adhere to the new QMK standards.
Diffstat (limited to 'keyboards/jj50/backlight_custom.h')
-rw-r--r-- | keyboards/jj50/backlight_custom.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/jj50/backlight_custom.h b/keyboards/jj50/backlight_custom.h new file mode 100644 index 000000000..7210be840 --- /dev/null +++ b/keyboards/jj50/backlight_custom.h @@ -0,0 +1,15 @@ +/** + * Backlighting code for PS2AVRGB boards (ATMEGA32A) + * Kenneth A. (github.com/krusli | krusli.me) + */ + +#ifndef BACKLIGHT_CUSTOM_H +#define BACKLIGHT_CUSTOM_H + +#include <avr/pgmspace.h> +void b_led_init_ports(void); +void b_led_set(uint8_t level); +void b_led_task(void); +void setPWM(uint16_t xValue); + +#endif // BACKLIGHT_CUSTOM_H |