summaryrefslogtreecommitdiff
path: root/keyboards/handwired/jotpad16/jotpad16.h
diff options
context:
space:
mode:
authorjotix <47826561+jotix@users.noreply.github.com>2019-02-22 13:08:25 -0300
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-22 08:08:25 -0800
commitc3cf9c0cef2283cce65ad025402b14ad021dc1dc (patch)
treeee4c4bccc289bb57006bc58bf7b41bb0a503f6f2 /keyboards/handwired/jotpad16/jotpad16.h
parente3621c162c32dd12ede78f6e2936724fc1dabcf1 (diff)
downloadqmk_firmware-c3cf9c0cef2283cce65ad025402b14ad021dc1dc.tar.gz
qmk_firmware-c3cf9c0cef2283cce65ad025402b14ad021dc1dc.zip
Jotpad16 (#5212)
* jotix 4x12 keymap * readme corrections * jotix ortho 4x12 keymap * jotix ortho 4x12 keymap * jotix ortho 4x12 keymap * jotix ortho 4x12 keymap * jotix ortho 4x12 keymap * jotix ortho 4x12 keymap * add jotpad keyboard * add jotpad keyboard * backlight pin for arduino pro micro * readme correction * readme correction * jotpad16 * Update keyboards/handwired/jotpad16/jotpad16.h Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com> * Update keyboards/handwired/jotpad16/keymaps/default/keymap.c Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com> * Update keyboards/handwired/jotpad16/readme.md Co-Authored-By: jotix <47826561+jotix@users.noreply.github.com>
Diffstat (limited to 'keyboards/handwired/jotpad16/jotpad16.h')
-rw-r--r--keyboards/handwired/jotpad16/jotpad16.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/handwired/jotpad16/jotpad16.h b/keyboards/handwired/jotpad16/jotpad16.h
new file mode 100644
index 0000000000..012c9290dd
--- /dev/null
+++ b/keyboards/handwired/jotpad16/jotpad16.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "quantum.h"
+
+// Used to create a keymap using only KC_ prefixed keys
+#define LAYOUT_ortho_4x4( \
+ k00, k01, k02, k03, \
+ k10, k11, k12, k13, \
+ k20, k21, k22, k23, \
+ k30, k31, k32, k33 \
+) \
+{ \
+ { k00, k01, k02, k03 }, \
+ { k10, k11, k12, k13 }, \
+ { k20, k21, k22, k23 }, \
+ { k30, k31, k32, k33 } \
+}
+