summaryrefslogtreecommitdiff
path: root/keyboards/yatara/drink_me/keymaps/dormouse
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/dormouse
parent17a089d21b261777f4fa48af34b6e012d69d3945 (diff)
downloadqmk_firmware-31e4583f4a171823cfa639cc6a9795e892c0455f.tar.gz
qmk_firmware-31e4583f4a171823cfa639cc6a9795e892c0455f.zip
[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/dormouse')
-rw-r--r--keyboards/yatara/drink_me/keymaps/dormouse/keymap.c10
-rw-r--r--keyboards/yatara/drink_me/keymaps/dormouse/readme.md11
-rw-r--r--keyboards/yatara/drink_me/keymaps/dormouse/rules.mk1
3 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/yatara/drink_me/keymaps/dormouse/keymap.c b/keyboards/yatara/drink_me/keymaps/dormouse/keymap.c
new file mode 100644
index 0000000000..e2d29a026a
--- /dev/null
+++ b/keyboards/yatara/drink_me/keymaps/dormouse/keymap.c
@@ -0,0 +1,10 @@
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT(
+ KC_SLEP,
+ KC_MUTE,
+ KC_VOLD,
+ KC_VOLU
+ )
+};
diff --git a/keyboards/yatara/drink_me/keymaps/dormouse/readme.md b/keyboards/yatara/drink_me/keymaps/dormouse/readme.md
new file mode 100644
index 0000000000..1a8c854d44
--- /dev/null
+++ b/keyboards/yatara/drink_me/keymaps/dormouse/readme.md
@@ -0,0 +1,11 @@
+# Drink Me - Dormouse layout
+
+> The Dormouse slowly opened his eyes. ‘I wasn’t asleep,’ he said in a hoarse, feeble voice: ‘I heard every word you fellows were saying.’
+
+Sleep and volume control.
+
+![Drink Me - Default layout](https://i.imgur.com/VQXH512.png)
+
+```
+Sleep, Mute, Volume down, Volume up
+```
diff --git a/keyboards/yatara/drink_me/keymaps/dormouse/rules.mk b/keyboards/yatara/drink_me/keymaps/dormouse/rules.mk
new file mode 100644
index 0000000000..fcfd2225bc
--- /dev/null
+++ b/keyboards/yatara/drink_me/keymaps/dormouse/rules.mk
@@ -0,0 +1 @@
+EXTRAKEY_ENABLE = yes