aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-06-23 22:18:20 -0400
committerGitHub <noreply@github.com>2016-06-23 22:18:20 -0400
commit13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b (patch)
tree2777e5c95bad3f5a9773fc58524a6ad99df63738 /tmk_core/common
parentba116ceb496011bb35ce074a3ba8c2448f059260 (diff)
downloadfirmware-13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b.tar.gz
firmware-13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b.tar.bz2
firmware-13bb6b4b7fdd2b3e419d0f89c93fb980b00eeb9b.zip
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
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/led.h4
-rw-r--r--tmk_core/common/matrix.h7
2 files changed, 7 insertions, 4 deletions
diff --git a/tmk_core/common/led.h b/tmk_core/common/led.h
index 9dc898780..61c971c10 100644
--- a/tmk_core/common/led.h
+++ b/tmk_core/common/led.h
@@ -34,10 +34,6 @@ extern "C" {
void led_set(uint8_t usb_led);
-/* keyboard-specific LED functionality */
-void led_set_kb(uint8_t usb_led);
-
-
void led_init_ports(void);
#ifdef __cplusplus
diff --git a/tmk_core/common/matrix.h b/tmk_core/common/matrix.h
index 5f380aaab..5f2f831b4 100644
--- a/tmk_core/common/matrix.h
+++ b/tmk_core/common/matrix.h
@@ -76,6 +76,13 @@ void matrix_power_down(void);
/* executes code for Quantum */
void matrix_init_quantum(void);
void matrix_scan_quantum(void);
+
+void matrix_init_kb(void);
+void matrix_scan_kb(void);
+
+void matrix_init_user(void);
+void matrix_scan_user(void);
+
#ifdef __cplusplus
}
#endif