From 649b33d7783cf3021928534b7ae127e0a89e8807 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Tue, 21 Jun 2016 22:39:54 -0400 Subject: Renames keyboard folder to keyboards, adds couple of tmk's fixes (#432) * fixes from tmk's repo * rename keyboard to keyboards --- keyboards/arrow_pad/arrow_pad.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 keyboards/arrow_pad/arrow_pad.h (limited to 'keyboards/arrow_pad/arrow_pad.h') diff --git a/keyboards/arrow_pad/arrow_pad.h b/keyboards/arrow_pad/arrow_pad.h new file mode 100644 index 0000000000..b3fb578e8f --- /dev/null +++ b/keyboards/arrow_pad/arrow_pad.h @@ -0,0 +1,18 @@ +#ifndef ARROW_PAD_H +#define ARROW_PAD_H + +#include "matrix.h" +#include "keymap.h" +#ifdef BACKLIGHT_ENABLE + #include "backlight.h" +#endif +#include +#include + +void matrix_init_user(void); +void matrix_scan_user(void); +bool process_action_user(keyrecord_t *record); +void led_set_user(uint8_t usb_led); +void backlight_init_ports(void); + +#endif -- cgit v1.2.3 From 13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Thu, 23 Jun 2016 22:18:20 -0400 Subject: Backlight abstraction and other changes (#439) * redoes matrix pins, abstracts backlight code for B5,6,7 * slimming down keyboard stuff, backlight breathing implemented * don't call backlight init when no pin * cleans up user/kb/quantum calls, keyboard files * fix pvc atomic * replaces CHANNEL with correct var in breathing * removes .hexs, updates readmes, updates template * cleans-up clueboards, readmes to lowercase * updates readme --- keyboards/arrow_pad/arrow_pad.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'keyboards/arrow_pad/arrow_pad.h') diff --git a/keyboards/arrow_pad/arrow_pad.h b/keyboards/arrow_pad/arrow_pad.h index b3fb578e8f..62882b9b54 100644 --- a/keyboards/arrow_pad/arrow_pad.h +++ b/keyboards/arrow_pad/arrow_pad.h @@ -1,6 +1,7 @@ #ifndef ARROW_PAD_H #define ARROW_PAD_H +#include "quantum.h" #include "matrix.h" #include "keymap.h" #ifdef BACKLIGHT_ENABLE @@ -9,10 +10,4 @@ #include #include -void matrix_init_user(void); -void matrix_scan_user(void); -bool process_action_user(keyrecord_t *record); -void led_set_user(uint8_t usb_led); -void backlight_init_ports(void); - #endif -- cgit v1.2.3