From ff758496b35e26a293d03a157c2d9ae3dfe205bd Mon Sep 17 00:00:00 2001 From: MechMerlin <30334081+mechmerlin@users.noreply.github.com> Date: Tue, 8 May 2018 16:00:19 -0700 Subject: 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 --- keyboards/bananasplit/keymaps/kamon/keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'keyboards/bananasplit/keymaps/kamon/keymap.c') diff --git a/keyboards/bananasplit/keymaps/kamon/keymap.c b/keyboards/bananasplit/keymaps/kamon/keymap.c index d9dcafe11e..34306e1830 100644 --- a/keyboards/bananasplit/keymaps/kamon/keymap.c +++ b/keyboards/bananasplit/keymaps/kamon/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 . */ -#include "bananasplit.h" +#include QMK_KEYBOARD_H #define ______ KC_TRNS @@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | Fn1 | GUI | Alt | Space | Space | Space | Alt | Fn1 | Fn1 | 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, \ KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ @@ -51,7 +51,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | Fn1 | GUI | Alt | Space | Space | Space | Alt | | | Ctrl | ------------------------------------------------------------------------------------------- */ -[1] = KEYMAP( \ +[1] = LAYOUT_base( \ 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, KC_DEL, \ KC_TAB, KC_HOME, KC_UP, KC_END, KC_PGUP, ______, ______, ______, ______, ______, ______, ______, ______, KC_PSCR, \ KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, ______, ______, ______, ______, ______, ______, ______, ______, \ @@ -67,7 +67,7 @@ const uint16_t PROGMEM fn_actions[] = { const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { switch(id) { case 0: - // Sends Alt+Shift on both key down and key up. + // Sends Alt+Shift on both key down and key up. // Fesigned to switch between two keyboard layouts on Windows using a locking switch. // Does nothing if right shift is pressed for easier resync. if (!(get_mods() & MOD_BIT(KC_RSFT))) -- cgit v1.2.1