diff options
author | Nick Brassel <nick@tzarc.org> | 2023-02-23 09:19:00 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 09:19:00 +1100 |
commit | 7f805cc7799deb0ca75f751cebd32c6640058af9 (patch) | |
tree | ebc20e21b50812ea4455bdfc5567c8025aa4fc74 /keyboards/preonic | |
parent | 403b0addea48548abdbde6203d8673f2b77164a7 (diff) |
VIA Protocol 12 + fixes (#19916)
Co-authored-by: Wilba <wilba@wilba.tech>
Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/preonic')
-rw-r--r-- | keyboards/preonic/keymaps/jpe230/jpe230.h | 8 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/via/keymap.c | 6 |
2 files changed, 4 insertions, 10 deletions
diff --git a/keyboards/preonic/keymaps/jpe230/jpe230.h b/keyboards/preonic/keymaps/jpe230/jpe230.h index e6b4ed1401..b53239bd31 100644 --- a/keyboards/preonic/keymaps/jpe230/jpe230.h +++ b/keyboards/preonic/keymaps/jpe230/jpe230.h @@ -15,14 +15,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifdef VIA_ENABLE - #define USER_START USER00 -#else - #define USER_START SAFE_RANGE -#endif - enum jpe230_keycodes { - KC_LSRS = USER_START, + KC_LSRS = QK_KB_0, KC_LERS, KC_LSRE }; diff --git a/keyboards/preonic/keymaps/via/keymap.c b/keyboards/preonic/keymaps/via/keymap.c index e9c5c32c73..2d8a3c763f 100644 --- a/keyboards/preonic/keymaps/via/keymap.c +++ b/keyboards/preonic/keymaps/via/keymap.c @@ -45,7 +45,7 @@ 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_DEL, KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, - _______, KC_LCTL, KC_LALT, KC_LGUI, FN_MO13, KC_SPC, KC_SPC, FN_MO23, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT + _______, KC_LCTL, KC_LALT, KC_LGUI, TL_LOWR, KC_SPC, KC_SPC, TL_UPPR, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT ), /* Lower @@ -190,8 +190,8 @@ void matrix_scan_user(void) { bool music_mask_user(uint16_t keycode) { switch (keycode) { - case FN_MO13: - case FN_MO23: + case TL_LOWR: + case TL_UPPR: return false; default: return true; |