summaryrefslogtreecommitdiff
path: root/keyboards/bananasplit/keymaps/coloneljesus
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-05-08 16:00:19 -0700
committerDrashna Jaelre <drashna@live.com>2018-05-08 16:00:19 -0700
commitff758496b35e26a293d03a157c2d9ae3dfe205bd (patch)
tree0729fa0ac2c597e7ede98a5fcad51e2bd7547829 /keyboards/bananasplit/keymaps/coloneljesus
parent922d9b77ada28a3918fb163d0a8ea44d85970e58 (diff)
QMK Configurator Support for bananasplit (#2882)
* Change KEYMAP to LAYOUT refactor * Add info.json for QMK Configurator Support * Change LAYOUT_ansi to LAYOUT_60_ansi * removed talljoe's placeholder keymaps * change LAYOUT to LAYOUT_base
Diffstat (limited to 'keyboards/bananasplit/keymaps/coloneljesus')
-rw-r--r--keyboards/bananasplit/keymaps/coloneljesus/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/bananasplit/keymaps/coloneljesus/keymap.c b/keyboards/bananasplit/keymaps/coloneljesus/keymap.c
index b5889aa19c..275bfe32a1 100644
--- a/keyboards/bananasplit/keymaps/coloneljesus/keymap.c
+++ b/keyboards/bananasplit/keymaps/coloneljesus/keymap.c
@@ -13,7 +13,7 @@
* 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 "bananasplit.h"
+#include QMK_KEYBOARD_H
enum custom_keycodes {
WIN_SWITCH_LAYOUT = SAFE_RANGE,
@@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
| Ctrl | GUI | Alt | Space | Fn1 | Space | Alt | GUI | App | Ctrl |
-------------------------------------------------------------------------------------------
*/
-[0] = KEYMAP( \
+[0] = LAYOUT_base( \
KC_GESC, 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_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, \
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, \
@@ -53,7 +53,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
| | | | | TRNS | | | | | Reset |
-------------------------------------------------------------------------------------------
*/
-[1] = KEYMAP( \
+[1] = LAYOUT_base( \
_______, 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_MPRV, KC_VOLU, KC_MNXT, KC_PGUP, KC_INS, KC_HOME, LCTL(KC_LEFT), LCTL(KC_RGHT), KC_END, _______, _______, _______, KC_PSCR, \
_______, KC_MUTE, KC_VOLD, KC_MPLY, KC_PGDN, KC_DEL, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, _______, _______, _______, \
@@ -78,7 +78,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case WIN_SWITCH_LAYOUT: {
- // Sends Alt+Shift on both key down and key up.
+ // Sends Alt+Shift on both key down and key up.
// Designed to switch between two keyboard layouts on Windows using a locking switch.
// Does nothing if right shift is pressed for easy resync.
if (!(get_mods() & MOD_BIT(KC_RSFT)))