summaryrefslogtreecommitdiff
path: root/keyboards/bananasplit/keymaps/kamon
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/kamon
parent922d9b77ada28a3918fb163d0a8ea44d85970e58 (diff)
downloadqmk_firmware-ff758496b35e26a293d03a157c2d9ae3dfe205bd.tar.gz
qmk_firmware-ff758496b35e26a293d03a157c2d9ae3dfe205bd.zip
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/kamon')
-rw-r--r--keyboards/bananasplit/keymaps/kamon/keymap.c8
1 files changed, 4 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>.
*/
-#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)))