diff options
| author | Kai Eckert <gen-github@kaiec.de> | 2019-09-10 06:36:32 +0200 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-09-09 21:36:32 -0700 |
| commit | 88908888b88c30653a35fdb254781fd8825a954c (patch) | |
| tree | 488b50e3c946f60febacce9bc12385f678b3c35d /keyboards/rabbit/rabbit68/keymaps/default/keymap.c | |
| parent | 99e58eab0fad1e81e5592e002f85aeea2563d272 (diff) | |
| download | qmk_firmware-88908888b88c30653a35fdb254781fd8825a954c.tar.gz qmk_firmware-88908888b88c30653a35fdb254781fd8825a954c.zip | |
[Keyboard] Add Rabbit68 Keyboard w/ default,kaiec keymaps. (#6676)
* Add Rabbit68 Keyboard w/ default,kaiec keymaps.
* Requested changes by @fauxpark
* Change flash command, as suggested by @drashna
* Update keyboards/rabbit/rabbit68/readme.md
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Add link to Github repo
As I per suggestion changed the link above to an image, I added now the link to the project page to the Open Source text, where it actually makes the most sense.
Diffstat (limited to 'keyboards/rabbit/rabbit68/keymaps/default/keymap.c')
| -rw-r--r-- | keyboards/rabbit/rabbit68/keymaps/default/keymap.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/rabbit/rabbit68/keymaps/default/keymap.c b/keyboards/rabbit/rabbit68/keymaps/default/keymap.c new file mode 100644 index 000000000..ef5cfff8d --- /dev/null +++ b/keyboards/rabbit/rabbit68/keymaps/default/keymap.c | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | /* Copyright 2019 Kai Eckert | ||
| 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 the keycodes used by our macros in process_record_user | ||
| 19 | // enum custom_keycodes { QMKBEST = SAFE_RANGE, QMKURL }; | ||
| 20 | |||
| 21 | |||
| 22 | #define _BASE 0 | ||
| 23 | #define _FN 1 | ||
| 24 | |||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 26 | [_BASE] = LAYOUT( | ||
| 27 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 28 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 29 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, | ||
| 30 | KC_LSFT, KC_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
| 31 | KC_LCTL, KC_LGUI, KC_LALT, KC_NO, KC_SPC, KC_SPC, KC_RALT, MO(_FN), KC_NO, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 32 | ), | ||
| 33 | [_FN] = LAYOUT( | ||
| 34 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 39 | ), | ||
| 40 | }; | ||
