summaryrefslogtreecommitdiff
path: root/keyboards/ergodash/mini/mini.c
diff options
context:
space:
mode:
authoromkbd <takuya.electronics@gmail.com>2018-09-16 02:57:46 +0900
committerDrashna Jaelre <drashna@live.com>2018-09-15 10:57:46 -0700
commitb65e2143751fd7c1721a6690597f523137c7c484 (patch)
treea1b0d5c8826de818b50e0797606e14f86595c59b /keyboards/ergodash/mini/mini.c
parent6bf2c077151bf6e71f5fe44f730c127eb667f5a6 (diff)
Keyboard: add ergodash mini keyboard (#3901)
* add ergodash mini add ergodash mini (4rows version) fix keymap and readme * fix replace include guard remove includes * fix audio
Diffstat (limited to 'keyboards/ergodash/mini/mini.c')
-rw-r--r--keyboards/ergodash/mini/mini.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/ergodash/mini/mini.c b/keyboards/ergodash/mini/mini.c
new file mode 100644
index 0000000000..89b8212976
--- /dev/null
+++ b/keyboards/ergodash/mini/mini.c
@@ -0,0 +1,13 @@
+#include "ergodash.h"
+
+#ifdef AUDIO_ENABLE
+ float tone_startup[][2] = SONG(STARTUP_SOUND);
+ float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
+#endif
+
+#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