diff options
| author | k.bigwheel <k.bigwheel+eng@gmail.com> | 2021-02-08 01:56:27 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-07 08:56:27 -0800 |
| commit | 784a9cdca4e776150af6b996f8944af89541f2f5 (patch) | |
| tree | 8567b65c6b21b47bb3719569630de1702fe2b6b7 /keyboards/earth_rover/keymaps | |
| parent | 3d01794b12a895b1678c51b5aea46a0def5fca3f (diff) | |
| download | qmk_firmware-784a9cdca4e776150af6b996f8944af89541f2f5.tar.gz qmk_firmware-784a9cdca4e776150af6b996f8944af89541f2f5.zip | |
[Keyboard] Add earth_rover keyboard (#11405)
* Just ./util/new_keyboard.sh earth_rover
* Update readme.md
* Create key layout
* Setup config.h
* Add default keymap
* Fix pins
* Update flash command
* Write info.json
* Add reset instruction
* Change bootloader setting
* Format new C files
* Empty commit for kicking CI
* Update keyboards/earth_rover/config.h
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update keyboards/earth_rover/keymaps/default/keymap.c
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
* Update readme.md
* Update keyboards/earth_rover/readme.md
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/earth_rover/keymaps')
| -rw-r--r-- | keyboards/earth_rover/keymaps/default/keymap.c | 31 | ||||
| -rw-r--r-- | keyboards/earth_rover/keymaps/default/readme.md | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/earth_rover/keymaps/default/keymap.c b/keyboards/earth_rover/keymaps/default/keymap.c new file mode 100644 index 000000000..be97773d5 --- /dev/null +++ b/keyboards/earth_rover/keymaps/default/keymap.c | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | /* Copyright 2020 k.bigwheel | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | // Defines names for use in layer keycodes and the keymap | ||
| 19 | enum layer_names { _BASE }; | ||
| 20 | |||
| 21 | // clang-format off | ||
| 22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 23 | /* Base */ | ||
| 24 | [_BASE] = LAYOUT( | ||
| 25 | KC_A, KC_B, | ||
| 26 | KC_C, KC_D, KC_E, KC_F, | ||
| 27 | KC_G, KC_H, KC_I, KC_J, | ||
| 28 | KC_K, KC_L, KC_M, KC_N | ||
| 29 | ) | ||
| 30 | }; | ||
| 31 | // clang-format on | ||
diff --git a/keyboards/earth_rover/keymaps/default/readme.md b/keyboards/earth_rover/keymaps/default/readme.md new file mode 100644 index 000000000..aa0b88c38 --- /dev/null +++ b/keyboards/earth_rover/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for earth_rover | |||
