aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/pico/rev1/rev1.h
diff options
context:
space:
mode:
authorGravatar x1 <viva008@gmail.com>2019-11-21 14:48:30 +0900
committerGravatar James Young <18669334+noroadsleft@users.noreply.github.com>2019-11-20 21:48:30 -0800
commit8416a94ad27b3ff058576f09f35f0704a8b39ff3 (patch)
tree0a416bccbf70bfdbdb9ffcdb3bf136b47378c014 /keyboards/pico/rev1/rev1.h
parentecc73553214e40293361af2570eddc5122bef255 (diff)
downloadqmk_firmware-8416a94ad27b3ff058576f09f35f0704a8b39ff3.tar.gz
[Keyboard] Add pico as a new keyboard (#7419)
* Add keyboards/ pico as a new keyboad. * Add keyboards/pico rev1. * Add keyboards/pico keymaps/default. * Add keyboards/pico keymaps/jis. * Remove unneeded code of rules.mk. * Revert rules.mk and remove some comments.
Diffstat (limited to 'keyboards/pico/rev1/rev1.h')
-rw-r--r--keyboards/pico/rev1/rev1.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/pico/rev1/rev1.h b/keyboards/pico/rev1/rev1.h
new file mode 100644
index 000000000..61e32efd2
--- /dev/null
+++ b/keyboards/pico/rev1/rev1.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include "pico.h"
+#include "quantum.h"
+
+#define LAYOUT( \
+ L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
+ L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \
+ L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \
+ L31, L32, L33, L34, L35, L36, R30, R31, R32, R33, R34, R35, R36, \
+ L41, L42, L43, L44, L45, L46, R40, R41, R42, R43, R44, R45, R46 \
+) \
+{ \
+ { KC_NO, L01, L02, L03, L04, L05, L06 }, \
+ { KC_NO, L11, L12, L13, L14, L15, L16 }, \
+ { KC_NO, L21, L22, L23, L24, L25, L26 }, \
+ { KC_NO, L31, L32, L33, L34, L35, L36 }, \
+ { KC_NO, L41, L42, L43, L44, L45, L46 }, \
+ { R00, R01, R02, R03, R04, R05, R06 }, \
+ { R10, R11, R12, R13, R14, R15, R16 }, \
+ { R20, R21, R22, R23, R24, R25, R26 }, \
+ { R30, R31, R32, R33, R34, R35, R36 }, \
+ { R40, R41, R42, R43, R44, R45, R46 } \
+}