aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/winkeyless/bminiex/backlight_custom.h
diff options
context:
space:
mode:
authorGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-18 08:35:34 -0800
committerGravatar Drashna Jaelre <drashna@live.com>2019-02-18 08:35:34 -0800
commitf0edc993b7beb15cc9c0443677801daddcae710b (patch)
tree0d0ee27fca9ea4384a905cdc26878aaa796ee18d /keyboards/winkeyless/bminiex/backlight_custom.h
parent593d08d6aec38aca6f38db4a17f3d8cdcd13bf28 (diff)
downloadqmk_firmware-f0edc993b7beb15cc9c0443677801daddcae710b.tar.gz
[Keyboard] Winkeyless Directory (#5163)
* introduce wkl directory and readme * move bface into winkeyless directory and edit readme for new make instructions * move bmini into the winkeyless directory and edit readme * move bmini ex into winkeyless directory * edit readme some more * add newbs guide to readmes * fix path to bface * temporarily turn off community layout support until we refactor this taking out all the custom ps2avrgb stuff
Diffstat (limited to 'keyboards/winkeyless/bminiex/backlight_custom.h')
-rw-r--r--keyboards/winkeyless/bminiex/backlight_custom.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/winkeyless/bminiex/backlight_custom.h b/keyboards/winkeyless/bminiex/backlight_custom.h
new file mode 100644
index 000000000..51365fe3b
--- /dev/null
+++ b/keyboards/winkeyless/bminiex/backlight_custom.h
@@ -0,0 +1,13 @@
+/**
+ * Backlighting code for PS2AVRGB boards (ATMEGA32A)
+ * Kenneth A. (github.com/krusli | krusli.me)
+ */
+
+#pragma once
+
+#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);
+