summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dactyl_manuform/4x6/4x6.c
diff options
context:
space:
mode:
authorFilip Sund <filip.sund@gmail.com>2018-10-03 21:04:01 +0200
committerDrashna Jaelre <drashna@live.com>2018-10-03 12:04:01 -0700
commitd55468c18d666870cfe095d32153e5e503e50649 (patch)
treed7f3a12b1314270ad84adc5cefede25cb8a52c89 /keyboards/handwired/dactyl_manuform/4x6/4x6.c
parentf01133d08918b3d1dd7b349309b02ffd37273f5c (diff)
downloadqmk_firmware-d55468c18d666870cfe095d32153e5e503e50649.tar.gz
qmk_firmware-d55468c18d666870cfe095d32153e5e503e50649.zip
Keyboard: Added dactyl-manuform 4x6 and keymap. (#4058)
* Added dactyl-manuform 4x6 and keymap. * Did changes recommended by drashna.
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/4x6/4x6.c')
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6/4x6.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/4x6/4x6.c b/keyboards/handwired/dactyl_manuform/4x6/4x6.c
new file mode 100644
index 0000000000..1d305c8541
--- /dev/null
+++ b/keyboards/handwired/dactyl_manuform/4x6/4x6.c
@@ -0,0 +1,14 @@
+#include "4x6.h"
+
+
+#ifdef SSD1306OLED
+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);
+}
+#endif
+
+void matrix_init_kb(void) {
+ matrix_init_user();
+};
+