Skip to content

Commit

Permalink
Fix thumbsup:default keymap (qmk#24459)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and sqrtnull committed Oct 22, 2024
1 parent 6dfcf5a commit a404966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
12 changes: 4 additions & 8 deletions keyboards/thumbsup/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
*/
#include QMK_KEYBOARD_H



// Defines names for use in layer keycodes and the keymap
enum layer_names {
_QWERTY,
Expand All @@ -26,13 +24,8 @@ enum layer_names {
_EXTRARIGHT
};

// Aliases for this command to make the thumb keys work as LOWER/RAISE on hold and as space on hit.
//#define CURSORRGHT LT(_CURSORRGHT,KC_SPC)
//#define CURSORLEFT LT(_CURSORLEFT,KC_SPC)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {


/* Qwerty
* ,-----------------------------------------+ +-----------------------------------------.
* | Esc | Q | W | E | R | T | | Y | U | I | O | P |BSpc |
Expand All @@ -55,7 +48,7 @@ Single hit: | | |Space | |Space | | |
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
LT(_EXTRARIGHT,KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_PENT,
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RCTL,
KC_SPC, KC_LGUI, KC_LALT, KC_LSFT, LT(TL_LOWR,KC_SPC), LT(TL_UPPR ,KC_SPC), KC_RSFT, KC_RALT, KC_APP, KC_SPC
KC_SPC, KC_LGUI, KC_LALT, KC_LSFT, LT(_CURSORLEFT,KC_SPC), LT(_CURSORRGHT ,KC_SPC), KC_RSFT, KC_RALT, KC_APP, KC_SPC
),


Expand Down Expand Up @@ -173,3 +166,6 @@ without separate thumbcluster.
)
};

layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _CURSORLEFT, _CURSORRGHT, _NUMBERS);
}
1 change: 0 additions & 1 deletion keyboards/thumbsup/keymaps/default/rules.mk

This file was deleted.

0 comments on commit a404966

Please sign in to comment.