summaryrefslogtreecommitdiffstats
path: root/keyboards/keycapsss/plaid_pad/plaid_pad.h
diff options
context:
space:
mode:
authorBen <BenRoe@users.noreply.github.com>2020-01-17 09:30:32 +0100
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-17 00:30:32 -0800
commit619ee543b8093f643585870db87bad06630c39d4 (patch)
tree3627f80914b1104b438651aa6c842dc41291dacf /keyboards/keycapsss/plaid_pad/plaid_pad.h
parentb6d8840915b9f323cad95186b8ac269bd559b9f7 (diff)
[Keyboard] Add Plaid-Pad 4x4 numpad (#7900)
* Add Plaid-Pad code * Move ENCODER_ENABLE under Build Options * Update keyboards/keycapsss/plaid_pad/info.json * Update keyboards/keycapsss/plaid_pad/keymaps/default/keymap.c * Update keyboards/keycapsss/plaid_pad/plaid_pad.h * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/readme.md * Update keyboards/keycapsss/plaid_pad/readme.md * Update keyboards/keycapsss/plaid_pad/readme.md * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/config.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/rules.mk * Update keyboards/keycapsss/plaid_pad/config.h * Update keyboards/keycapsss/plaid_pad/config.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/usbconfig.h * Update keyboards/keycapsss/plaid_pad/config.h
Diffstat (limited to 'keyboards/keycapsss/plaid_pad/plaid_pad.h')
-rw-r--r--keyboards/keycapsss/plaid_pad/plaid_pad.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/keycapsss/plaid_pad/plaid_pad.h b/keyboards/keycapsss/plaid_pad/plaid_pad.h
new file mode 100644
index 0000000000..fae9b132a8
--- /dev/null
+++ b/keyboards/keycapsss/plaid_pad/plaid_pad.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "quantum.h"
+
+#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 } \
+}
+
+#define LED_RED C5 // LED1
+#define LED_GREEN C4 // LED2