summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/keymaps/haptic/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/keymaps/haptic/keymap.c')
-rw-r--r--keyboards/handwired/onekey/keymaps/haptic/keymap.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/keymaps/haptic/keymap.c b/keyboards/handwired/onekey/keymaps/haptic/keymap.c
new file mode 100644
index 0000000000..e3b0093c18
--- /dev/null
+++ b/keyboards/handwired/onekey/keymaps/haptic/keymap.c
@@ -0,0 +1,11 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ LAYOUT_ortho_1x1(KC_A)
+};
+
+void haptic_enable(void);
+
+void keyboard_post_init_user(void) {
+ haptic_enable();
+}