diff options
| author | Jarred Steenvoorden <jazzjarred@gmail.com> | 2019-03-14 05:22:06 +1100 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-03-13 11:22:06 -0700 |
| commit | 7e306f9c9867ff8160c710caa7a7b8e7820cef9e (patch) | |
| tree | 2f598ef34078a7525811bf678f77235d21b65c7f /keyboards | |
| parent | 2902035dcc930fc6f2890b902015f2a99bc1c274 (diff) | |
| download | qmk_firmware-7e306f9c9867ff8160c710caa7a7b8e7820cef9e.tar.gz qmk_firmware-7e306f9c9867ff8160c710caa7a7b8e7820cef9e.zip | |
[Keymap] Add atreus, ergotravel and org60 keymaps (#5381)
* Add atreus, ergotravel and org60 keymaps
* Cleanup my keymap config files
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/atreus62/keymaps/jarred/config.h | 21 | ||||
| -rw-r--r-- | keyboards/atreus62/keymaps/jarred/keymap.c | 26 | ||||
| -rw-r--r-- | keyboards/ergotravel/keymaps/jarred/config.h | 29 | ||||
| -rw-r--r-- | keyboards/ergotravel/keymaps/jarred/keymap.c | 50 | ||||
| -rw-r--r-- | keyboards/org60/keymaps/jarred/keymap.c | 25 |
5 files changed, 151 insertions, 0 deletions
diff --git a/keyboards/atreus62/keymaps/jarred/config.h b/keyboards/atreus62/keymaps/jarred/config.h new file mode 100644 index 000000000..34ab0baaf --- /dev/null +++ b/keyboards/atreus62/keymaps/jarred/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2018 Jarred Steenvoorden | ||
| 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 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | // My hand wire diodes are in the opposite direction to the Atreus62 PCB | ||
| 20 | #undef DIODE_DIRECTION | ||
| 21 | #define DIODE_DIRECTION COL2ROW | ||
diff --git a/keyboards/atreus62/keymaps/jarred/keymap.c b/keyboards/atreus62/keymaps/jarred/keymap.c new file mode 100644 index 000000000..7a49b2890 --- /dev/null +++ b/keyboards/atreus62/keymaps/jarred/keymap.c | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* Copyright 2018 Jarred Steenvoorden | ||
| 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 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | #include "jarred.h" | ||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | [_QW] = LAYOUT_atreus62_grid_wrapper(BLANK_12, QWERTY_1_12, QWERTY_2_12, QWERTY_3_12, QWERTY_L4, KC_NO, KC_NO, QWERTY_R4), | ||
| 22 | [_LW] = LAYOUT_atreus62_grid_wrapper(BLANK_12, LOWER_1_12 , LOWER_2_12 , LOWER_3_12 , LOWER_L4 , KC_NO, KC_NO, LOWER_R4 ), | ||
| 23 | [_NV] = LAYOUT_atreus62_grid_wrapper(BLANK_12, NAV_1_12 , NAV_2_12 , NAV_3_12 , NAV_L4 , KC_NO, KC_NO, NAV_R4 ), | ||
| 24 | [_NP] = LAYOUT_atreus62_grid_wrapper(BLANK_12, NUMPAD_1_12, NUMPAD_2_12, NUMPAD_3_12, NUMPAD_L4, KC_NO, KC_NO, NUMPAD_R4), | ||
| 25 | [_MS] = LAYOUT_atreus62_grid_wrapper(BLANK_12, MOUSE_1_12 , MOUSE_2_12 , MOUSE_3_12 , MOUSE_L4 , KC_NO, KC_NO, MOUSE_R4 ) | ||
| 26 | }; | ||
diff --git a/keyboards/ergotravel/keymaps/jarred/config.h b/keyboards/ergotravel/keymaps/jarred/config.h new file mode 100644 index 000000000..d64187b59 --- /dev/null +++ b/keyboards/ergotravel/keymaps/jarred/config.h | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Pierre Constantineau <jpconstantineau@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | /* Use I2C or Serial, not both */ | ||
| 21 | |||
| 22 | // #define USE_SERIAL | ||
| 23 | #define USE_I2C | ||
| 24 | |||
| 25 | /* Select hand configuration */ | ||
| 26 | |||
| 27 | #define MASTER_LEFT | ||
| 28 | // #define MASTER_RIGHT | ||
| 29 | // #define EE_HANDS | ||
diff --git a/keyboards/ergotravel/keymaps/jarred/keymap.c b/keyboards/ergotravel/keymaps/jarred/keymap.c new file mode 100644 index 000000000..33031f931 --- /dev/null +++ b/keyboards/ergotravel/keymaps/jarred/keymap.c | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2018 Jarred Steenvoorden | ||
| 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 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | #include "jarred.h" | ||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | [_QW] = LAYOUT_ergotravel_grid_wrapper( | ||
| 22 | QWERTY_L1, KC_NO, KC_NO, QWERTY_R1, | ||
| 23 | QWERTY_L2, KC_NO, KC_NO, QWERTY_R2, | ||
| 24 | QWERTY_L3, KC_NO, KC_NO, QWERTY_R3, | ||
| 25 | QWERTY_4_12), | ||
| 26 | |||
| 27 | [_LW] = LAYOUT_ergotravel_grid_wrapper( | ||
| 28 | LOWER_L1, KC_NO, KC_NO, LOWER_R1, | ||
| 29 | LOWER_L2, KC_NO, KC_NO, LOWER_R2, | ||
| 30 | LOWER_L3, KC_NO, KC_NO, LOWER_R3, | ||
| 31 | LOWER_4_12), | ||
| 32 | |||
| 33 | [_NV] = LAYOUT_ergotravel_grid_wrapper( | ||
| 34 | NAV_L1, KC_NO, KC_NO, NAV_R1, | ||
| 35 | NAV_L2, KC_NO, KC_NO, NAV_R2, | ||
| 36 | NAV_L3, KC_NO, KC_NO, NAV_R3, | ||
| 37 | NAV_4_12), | ||
| 38 | |||
| 39 | [_NP] = LAYOUT_ergotravel_grid_wrapper( | ||
| 40 | NUMPAD_L1, KC_NO, KC_NO, NUMPAD_R1, | ||
| 41 | NUMPAD_L2, KC_NO, KC_NO, NUMPAD_R2, | ||
| 42 | NUMPAD_L3, KC_NO, KC_NO, NUMPAD_R3, | ||
| 43 | NUMPAD_4_12), | ||
| 44 | |||
| 45 | [_MS] = LAYOUT_ergotravel_grid_wrapper( | ||
| 46 | MOUSE_L1, KC_NO, KC_NO, MOUSE_R1, | ||
| 47 | MOUSE_L2, KC_NO, KC_NO, MOUSE_R2, | ||
| 48 | MOUSE_L3, KC_NO, KC_NO, MOUSE_R3, | ||
| 49 | MOUSE_4_12) | ||
| 50 | }; | ||
diff --git a/keyboards/org60/keymaps/jarred/keymap.c b/keyboards/org60/keymaps/jarred/keymap.c new file mode 100644 index 000000000..3397a1909 --- /dev/null +++ b/keyboards/org60/keymaps/jarred/keymap.c | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | #define _QW 0 | ||
| 4 | #define _NV 1 | ||
| 5 | |||
| 6 | // HHKB Layout | ||
| 7 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 8 | |||
| 9 | [_QW] = LAYOUT( | ||
| 10 | KC_ESC, 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_BSLS, KC_GRV, \ | ||
| 11 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \ | ||
| 12 | MO(_NV), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, XXXXXXX, KC_ENT, \ | ||
| 13 | KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, XXXXXXX, KC_RSFT, KC_ENT, \ | ||
| 14 | XXXXXXX, KC_LCTL, KC_LGUI, KC_SPC, XXXXXXX, KC_RALT, XXXXXXX, KC_RCTL, XXXXXXX), | ||
| 15 | |||
| 16 | [_NV] = LAYOUT( | ||
| 17 | KC_GRV , KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, \ | ||
| 18 | _______, _______, _______, _______, KC_DEL ,KC_BSPC,_______,KC_HOME,KC_UP ,KC_END , KC_INS , _______, _______, _______, \ | ||
| 19 | _______, _______, _______, KC_LSFT,KC_LCTL, KC_ENT, _______,KC_LEFT,KC_DOWN,KC_RGHT, KC_DEL , KC_DEL , _______, _______, \ | ||
| 20 | _______, _______, _______, _______, _______,_______,_______,_______,KC_PGUP,KC_PGDN, _______, _______, _______, _______, _______, \ | ||
| 21 | _______, _______, _______, _______, _______, _______, _______, RESET, _______), | ||
| 22 | |||
| 23 | }; | ||
| 24 | |||
| 25 | |||
