summaryrefslogtreecommitdiffstats
path: root/keyboards/hadron/hadron.c
diff options
context:
space:
mode:
authorishtob <ishtob@gmail.com>2017-07-11 19:53:50 +0200
committerJack Humbert <jack.humb@gmail.com>2017-07-11 19:53:50 +0200
commitcc6db9c5408ad303b9d3f47e4deaf78b4fc854d3 (patch)
tree1995e0fdfc41de938723752478eb6d45c2f7b2c3 /keyboards/hadron/hadron.c
parent886af3250722f0aac2a8d37771ef8fe6b937f4cb (diff)
downloadqmk_firmware-cc6db9c5408ad303b9d3f47e4deaf78b4fc854d3.tar.gz
qmk_firmware-cc6db9c5408ad303b9d3f47e4deaf78b4fc854d3.tar.xz
Adds Hadron Keyboard (#1492)
* adding hadron keymaps * fix embedded comment * fixed TWI driver path * Delete glcdfont.c * Delete ssd1306.c * Delete ssd1306.h * Update readme.md
Diffstat (limited to 'keyboards/hadron/hadron.c')
-rw-r--r--keyboards/hadron/hadron.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/hadron/hadron.c b/keyboards/hadron/hadron.c
new file mode 100644
index 000000000..ca5b20e89
--- /dev/null
+++ b/keyboards/hadron/hadron.c
@@ -0,0 +1,26 @@
+#include "hadron.h"
+
+
+void matrix_init_kb(void) {
+
+ matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+ // put your looping keyboard code here
+ // runs every cycle (a lot)
+ matrix_scan_user();
+}
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ // put your per-action keyboard code here
+ // runs for every action, just before processing by the firmware
+
+ return process_record_user(keycode, record);
+}
+
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+ led_set_user(usb_led);
+} \ No newline at end of file