diff options
author | Yatara <43754086+yatara-cc@users.noreply.github.com> | 2020-01-30 23:37:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 14:37:23 -0800 |
commit | 31e4583f4a171823cfa639cc6a9795e892c0455f (patch) | |
tree | b6c283d5f1782ef31ad8c89abf90351a759fd943 /keyboards/yatara/drink_me/keymaps/via | |
parent | 17a089d21b261777f4fa48af34b6e012d69d3945 (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.c | 28 | ||||
-rw-r--r-- | keyboards/yatara/drink_me/keymaps/via/readme.md | 7 | ||||
-rw-r--r-- | keyboards/yatara/drink_me/keymaps/via/rules.mk | 2 |
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 |