mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-18 07:33:26 +00:00
933842067d
* 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.
16 lines
333 B
C
16 lines
333 B
C
/**
|
|
* 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
|