summaryrefslogtreecommitdiffstats
path: root/keyboards/6ball/6ball.h
diff options
context:
space:
mode:
authorDanny Nguyen <danny@keeb.io>2017-10-31 17:03:14 -0400
committerJack Humbert <jack.humb@gmail.com>2017-10-31 20:59:26 -0400
commitc9a0436422a8884fd8b5bd706ffc70020c3437be (patch)
tree2b3ec87b60f8a71062da8ea8b80b13d72b5b8c7a /keyboards/6ball/6ball.h
parentfca03e15b9f111e614738d9dcce09e03c49e9409 (diff)
Add 6-ball macropad
Diffstat (limited to 'keyboards/6ball/6ball.h')
-rw-r--r--keyboards/6ball/6ball.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/6ball/6ball.h b/keyboards/6ball/6ball.h
new file mode 100644
index 0000000000..34fcc4e6a7
--- /dev/null
+++ b/keyboards/6ball/6ball.h
@@ -0,0 +1,16 @@
+#ifndef SIXBALL_H
+#define SIXBALL_H
+
+#include "quantum.h"
+
+#define KEYMAP( \
+ k01, k02, k03, \
+ k04, k05, k06 \
+) \
+{ \
+ { k02, k03, k06, k05, k04, k01 } \
+}
+
+#define KC_KEYMAP(k01, k02, k03, k04, k05, k06) KEYMAP(KC_##k01, KC_##k02, KC_##k03, KC_##k04, KC_##k05, KC_##k06)
+
+#endif