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/gh60/gh60.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'keyboards/gh60/gh60.h') diff --git a/keyboards/gh60/gh60.h b/keyboards/gh60/gh60.h index a0ad51357..ca30562a4 100644 --- a/keyboards/gh60/gh60.h +++ b/keyboards/gh60/gh60.h @@ -1,10 +1,8 @@ #ifndef GH60_H #define GH60_H -#include "matrix.h" -#include "keymap.h" -#include "backlight.h" -#include +#include "quantum.h" +#include "led.h" /* GH60 LEDs * GPIO pads @@ -73,9 +71,4 @@ inline void gh60_wasd_leds_off(void) { DDRF &= ~(1<<7); PORTF &= ~(1<<7); } K40, K41, K42, K45, K49, K4A, K4B, K4C, K4D \ ) -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); - #endif -- cgit v1.2.3