From 5f01a03c14cb2c909dca1cd7ceb10680cf1cc450 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Sat, 28 Apr 2018 19:55:01 -0500 Subject: [PATCH] alt/gui swapping is now fn+f1-f4 - fn+f1: swap alt and gui on both sides - fn+f2: swap alt and gui on the left side - fn+f3: swap alt and gui on the right side - fn+f4: undo swaps, returning keys to their defaults in this setup, the default key layout is a windows-style key layout, but the keyboard can be put into a mac-style key layout by pressing fn+f1. the keyboard can be returned to its windows-style key layout by pressing fn+f4. --- keyboards/kbd75/keymaps/jorelli/keymap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/kbd75/keymaps/jorelli/keymap.c b/keyboards/kbd75/keymaps/jorelli/keymap.c index 8696af06..c7e768a4 100644 --- a/keyboards/kbd75/keymaps/jorelli/keymap.c +++ b/keyboards/kbd75/keymaps/jorelli/keymap.c @@ -9,11 +9,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { 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_BSPC, KC_PGUP, 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, KC_PGDN, KC_LSFT, MO(1), 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_END, - MO(1), KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), + MO(1), KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_TRNS, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT), // Layer 1: RGB Controls KEYMAP_ALL( - MAGIC_SWAP_LALT_LGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, AG_SWAP, MAGIC_SWAP_LALT_LGUI, MAGIC_SWAP_RALT_RGUI, AG_NORM, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DEL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,