diff options
author | ai03 <sarcaphx510@gmail.com> | 2019-10-30 17:10:40 -0700 |
---|---|---|
committer | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-10-30 17:10:40 -0700 |
commit | 096a49c3dc3a1674a8cc95987c97e922c0c769a4 (patch) | |
tree | 21165fc9970d3d994bd92e3a61f53349802d5c5a /keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03 | |
parent | dfdd9e821bfce93324ea68d8652008509137e0d9 (diff) |
[Keyboard] Add KBD67 MKII Solderable PCB Variant (#7202)
* Clone 8x source to begin
* Start replacing stuff
* Get things compiling
* Rename files
* Move board files to match MKII RGB files
* Adjust readme
* Adjust main keymap to be functional
* Make defualt keymap more basic; add personal keymap
* Remove unnecessary trailing slashes from keymap
* Remove unused functions from keymaps
* Remove obsolete build flags
* Adjust comments as requested
* Apply suggestions from code review
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Adjust as suggested
* Fix broken compile following applying suggestions
Diffstat (limited to 'keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03')
-rw-r--r-- | keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/keymap.c | 41 | ||||
-rw-r--r-- | keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/readme.md | 3 |
2 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/keymap.c b/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/keymap.c new file mode 100644 index 0000000000..0e6cdf776a --- /dev/null +++ b/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/keymap.c @@ -0,0 +1,41 @@ +/* Copyright 2019 Ryota Goto + * + * 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 + +/* K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, K014, \ + * K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ + * K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, K214, \ + * K300, K404, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ + * K400, K401, K402, K403, K405, K407, K409, K410, K411, K413, K414 \ + */ + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_all( /* Base */ + 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_BSPC, KC_BSPC, KC_DEL, + 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_BSLS, KC_END, + MO(1), 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, + KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PSCR, + KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_GRV, KC_DEL, KC_LEFT, KC_DOWN, KC_RGHT + ), + [1] = LAYOUT_all( /* FN */ + RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, + KC_CAPS, _______, KC_PGUP, _______, _______, _______, _______, _______, KC_UP, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, + _______, KC_HOME, KC_PGDN, KC_END, _______, KC_VOLD, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, BL_INC, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGUP, BL_DEC, + _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END + ) +}; + diff --git a/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/readme.md b/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/readme.md new file mode 100644 index 0000000000..91306e82af --- /dev/null +++ b/keyboards/kbdfans/kbd67/mkii_soldered/keymaps/ai03/readme.md @@ -0,0 +1,3 @@ +# The ai03 keymap for KBD67 MKII + +Tweaked slightly for more functionality closer to home position. |