summaryrefslogtreecommitdiff
path: root/keyboards/yatara/drink_me/keymaps/via
diff options
context:
space:
mode:
authorYatara <43754086+yatara-cc@users.noreply.github.com>2020-01-30 23:37:23 +0100
committerGitHub <noreply@github.com>2020-01-30 14:37:23 -0800
commit31e4583f4a171823cfa639cc6a9795e892c0455f (patch)
treeb6c283d5f1782ef31ad8c89abf90351a759fd943 /keyboards/yatara/drink_me/keymaps/via
parent17a089d21b261777f4fa48af34b6e012d69d3945 (diff)
[Keyboard] Add support for Drink Me (#8039)
* Add initial configuration and keymaps for Yatara Drink Me. * Apply suggestions from code review * Apply suggestions from code review * Add transparent layers in VIA layout so there are four layers in total. Amend closing bracket indentation in keymap.c files.
Diffstat (limited to 'keyboards/yatara/drink_me/keymaps/via')
-rw-r--r--keyboards/yatara/drink_me/keymaps/via/keymap.c28
-rw-r--r--keyboards/yatara/drink_me/keymaps/via/readme.md7
-rw-r--r--keyboards/yatara/drink_me/keymaps/via/rules.mk2
3 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/yatara/drink_me/keymaps/via/keymap.c b/keyboards/yatara/drink_me/keymaps/via/keymap.c
new file mode 100644
index 0000000000..441103222c
--- /dev/null
+++ b/keyboards/yatara/drink_me/keymaps/via/keymap.c
@@ -0,0 +1,28 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_0,
+ KC_1,
+ KC_2,
+ KC_3
+ ),
+ [1] = LAYOUT(
+ KC_TRNS,
+ KC_TRNS,
+ KC_TRNS,
+ KC_TRNS
+ ),
+ [2] = LAYOUT(
+ KC_TRNS,
+ KC_TRNS,
+ KC_TRNS,
+ KC_TRNS
+ ),
+ [3] = LAYOUT(
+ KC_TRNS,
+ KC_TRNS,
+ KC_TRNS,
+ KC_TRNS
+ )
+};
diff --git a/keyboards/yatara/drink_me/keymaps/via/readme.md b/keyboards/yatara/drink_me/keymaps/via/readme.md
new file mode 100644
index 0000000000..b77355f9fc
--- /dev/null
+++ b/keyboards/yatara/drink_me/keymaps/via/readme.md
@@ -0,0 +1,7 @@
+# Drink Me - VIA layout
+
+> ‘But what am I to do?’ said Alice.
+>
+> ‘Anything you like,’ said the Footman, and began whistling.
+
+Flash with this layout to use [VIA](https://caniusevia.com/) for customising layout.
diff --git a/keyboards/yatara/drink_me/keymaps/via/rules.mk b/keyboards/yatara/drink_me/keymaps/via/rules.mk
new file mode 100644
index 0000000000..830d3be902
--- /dev/null
+++ b/keyboards/yatara/drink_me/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+EXTRAKEY_ENABLE = yes
+VIA_ENABLE = yes