summaryrefslogtreecommitdiffstats
path: root/keyboards/ymd96/backlight_custom.h
diff options
context:
space:
mode:
authorHarshit Goel <harshitgoel96@yahoo.com>2018-06-01 21:07:49 +0200
committerDrashna Jaelre <drashna@live.com>2018-06-01 21:07:49 +0200
commitb36a1ef61baf857281f124e27e7d0faefb49ad13 (patch)
tree216a8b93f4980243a52444fe9d00c40c984d3f6d /keyboards/ymd96/backlight_custom.h
parent74d86832c3ff5107daa015bdb7709af6256a462c (diff)
downloadqmk_firmware-b36a1ef61baf857281f124e27e7d0faefb49ad13.tar.gz
qmk_firmware-b36a1ef61baf857281f124e27e7d0faefb49ad13.tar.xz
YMD96 complete QMK port (#3105)
* readded code for YMD96 full working * added jj50 layout back
Diffstat (limited to 'keyboards/ymd96/backlight_custom.h')
-rw-r--r--keyboards/ymd96/backlight_custom.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/keyboards/ymd96/backlight_custom.h b/keyboards/ymd96/backlight_custom.h
new file mode 100644
index 000000000..7210be840
--- /dev/null
+++ b/keyboards/ymd96/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