diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-11-21 22:38:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 14:38:31 -0800 |
commit | e864786c0b64423aa2fa83f2cc8a2049af9957fd (patch) | |
tree | fc38306269d66f6d89008649c075bb707ddc7b24 /keyboards/ocean/wang_ergo/keymaps/default_2x2u/keymap.c | |
parent | d1cf21bedee722e02e5af6a5e37dbc145c613716 (diff) |
Ocean Wang Ergo: Fix QMK Configurator Implementation (#15249)
* info.json: apply friendly formatting
* info.json: update labels; reposition keys
* wang_ergo.h: use XXX for KC_NO
* wang_ergo.h: add matrix diagram
* rename LAYOUT to LAYOUT_all
* move Backspace keycode to top row
Moves the matrix argument/keycode for Backspace to its proper position at the end of the top row.
* add LAYOUT_2x2u with keymap
* info.json: update maintainer field
Use the maintainer's GitHub username.
Diffstat (limited to 'keyboards/ocean/wang_ergo/keymaps/default_2x2u/keymap.c')
-rw-r--r-- | keyboards/ocean/wang_ergo/keymaps/default_2x2u/keymap.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/ocean/wang_ergo/keymaps/default_2x2u/keymap.c b/keyboards/ocean/wang_ergo/keymaps/default_2x2u/keymap.c new file mode 100644 index 0000000000..7177819e45 --- /dev/null +++ b/keyboards/ocean/wang_ergo/keymaps/default_2x2u/keymap.c @@ -0,0 +1,24 @@ +/* Copyright 2021 Ocean + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_2x2u( + KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, KC_BSPC, + KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MO(1), + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, KC_RCTL + ), +}; |