summaryrefslogtreecommitdiffstats
path: root/keyboards/binepad/bn003/keymaps/via
diff options
context:
space:
mode:
authorbinepad <69730862+binepad@users.noreply.github.com>2020-09-12 15:41:30 +0530
committerGitHub <noreply@github.com>2020-09-12 03:11:30 -0700
commite4d46a1c00f60fa97d779f0c468c502416d29f02 (patch)
treefc32f14d988b21ec5588a12a8c16ba3ffb7f8b6c /keyboards/binepad/bn003/keymaps/via
parent7141de19d98be604587f269a2dc9a85b0a211e6f (diff)
[Keyboard] add binepad/bn003 (#10276)
* ADD BINEPAD/BN003 * Update keyboards/binepad/bn003/config.h * Update keyboards/binepad/bn003/config.h * Update keyboards/binepad/bn003/rules.mk * Update keyboards/binepad/bn003/keymaps/via/keymap.c * Update readme.md added macro pad info * Update keyboards/binepad/bn003/readme.md * Update keyboards/binepad/bn003/bn003.c * Update keyboards/binepad/bn003/config.h * Update keyboards/binepad/bn003/config.h * Update keyboards/binepad/bn003/info.json * Update keyboards/binepad/bn003/rules.mk * Update keyboards/binepad/bn003/rules.mk * Update keyboards/binepad/bn003/rules.mk * Update bn003.c * Update keyboards/binepad/bn003/readme.md * Update keyboards/binepad/bn003/rules.mk * Update keyboards/binepad/bn003/config.h * Update keyboards/binepad/bn003/keymaps/via/rules.mk * Update keyboards/binepad/bn003/rules.mk
Diffstat (limited to 'keyboards/binepad/bn003/keymaps/via')
-rw-r--r--keyboards/binepad/bn003/keymaps/via/keymap.c24
-rw-r--r--keyboards/binepad/bn003/keymaps/via/rules.mk1
2 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/binepad/bn003/keymaps/via/keymap.c b/keyboards/binepad/bn003/keymaps/via/keymap.c
new file mode 100644
index 0000000000..e0ffb3f80b
--- /dev/null
+++ b/keyboards/binepad/bn003/keymaps/via/keymap.c
@@ -0,0 +1,24 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_0,
+ KC_1,
+ KC_2
+ ),
+ [1] = LAYOUT(
+ KC_NO,
+ KC_NO,
+ KC_NO
+ ),
+ [2] = LAYOUT(
+ KC_NO,
+ KC_NO,
+ KC_NO
+ ),
+ [3] = LAYOUT(
+ KC_NO,
+ KC_NO,
+ KC_NO
+ )
+};
diff --git a/keyboards/binepad/bn003/keymaps/via/rules.mk b/keyboards/binepad/bn003/keymaps/via/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/binepad/bn003/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes