mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 16:36:58 +00:00
[Keymap] arkag Userspace updated (#12183)
Co-authored-by: Alex <alex@turncommerce.com>
This commit is contained in:
parent
790f94533c
commit
0ad7833ca4
@ -10,33 +10,34 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_QWERTY] = LAYOUT_2u_space_ortho(
|
||||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, QUOTE,
|
||||
KC_TAB, 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,
|
||||
M_PMOD, LRALT, M_SMOD, LOWER, RAISE, KC_SPC, MEDIA, FUNCT, XXXXXXX, GAME , KC_LEAD),
|
||||
M_PMOD, M_SMOD, KC_LALT, MEDIA, SYMBOL, KC_SPC, ARROW, FUNCT, XXXXXXX, KC_RALT, KC_LEAD),
|
||||
|
||||
[_RAISE] = LAYOUT_2u_space_ortho(
|
||||
GRAVE, _______, _______, _______, _______, _______, _______, KC_7, KC_8, KC_9, _______, _______,
|
||||
_______, OBRACK, CBRACK, KC_EQL, HYPHEN, _______, _______, KC_4, KC_5, KC_6, _______, KC_NLCK,
|
||||
_______, _______, _______, CEDILLA, _______, KC_COMM, KC_PDOT, KC_1, KC_2, KC_3, KC_BSLS, KC_PENT,
|
||||
_______, _______, _______, KEEB, _______, _______, KC_0, KC_PSLS, KC_PMNS, KC_PPLS, KC_PAST),
|
||||
|
||||
[_LOWER] = LAYOUT_2u_space_ortho(
|
||||
[_SYMBOL] = LAYOUT_2u_space_ortho(
|
||||
KC_GRV, KC_LPRN, KC_RPRN, KC_PLUS, KC_UNDS, KC_CIRC, KC_AMPR, KC_7, KC_8, KC_9, _______, _______,
|
||||
KC_LCBR, KC_LBRC, KC_RBRC, KC_EQL, KC_MINS, KC_ASTR, KC_PIPE, KC_4, KC_5, KC_6, _______, KC_NLCK,
|
||||
KC_RCBR, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_PDOT, KC_1, KC_2, KC_3, KC_BSLS, KC_PENT,
|
||||
M_DASH, KC_TILD, _______, KEEB, _______, _______, KC_0, KC_PSLS, KC_PMNS, KC_PPLS, KC_PAST),
|
||||
|
||||
[_MEDIA] = LAYOUT_2u_space_ortho(
|
||||
_______, _______, _______, KC_VOLU, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______,
|
||||
KC_MPLY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
|
||||
|
||||
[_ARROW] = LAYOUT_2u_space_ortho(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, LRALT, _______, _______, _______, _______, _______, _______, _______, _______, _______),
|
||||
|
||||
[_MEDIA] = LAYOUT_2u_space_ortho(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, _______, KC_MUTE,
|
||||
_______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, KC_MPLY, _______, _______, _______, _______, _______),
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
|
||||
|
||||
[_FUNCT] = LAYOUT_2u_space_ortho(
|
||||
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_CAPS, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, M_SFT, M_SPC, M_OS ),
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, M_OS ),
|
||||
|
||||
[_KEEB] = LAYOUT_2u_space_ortho(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
@ -44,10 +45,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
RGB_M_P, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, _______, _______, _______,
|
||||
RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______),
|
||||
|
||||
[_GAMING] = LAYOUT_2u_space_ortho(
|
||||
KC_ESC, KC_F13, KC_1, KC_2, KC_3, KC_4, KC_5, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
KC_TAB, KC_F14, KC_Q, KC_W, KC_E, KC_R, KC_T, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
KC_LSFT, KC_F15, KC_A, KC_S, KC_D, KC_F, KC_G, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
KC_LCTL, KC_F16, KC_Z, KC_X, KC_C, KC_SPC, XXXXXXX, XXXXXXX, XXXXXXX, GAME, XXXXXXX),
|
||||
|
||||
};
|
||||
|
@ -9,7 +9,7 @@ NKRO_ENABLE = yes
|
||||
BACKLIGHT_ENABLE = no
|
||||
AUDIO_ENABLE = no
|
||||
RGBLIGHT_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = yes
|
||||
TAP_DANCE_ENABLE = no
|
||||
UNICODE_ENABLE = yes
|
||||
LEADER_ENABLE = yes
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5,20 +5,9 @@
|
||||
|
||||
#define EECONFIG_USERSPACE (uint8_t *)20
|
||||
|
||||
#define LRALT TD(TD_LALT_RALT)
|
||||
#define QUOTE TD(TD_SING_DOUB)
|
||||
#define GRAVE TD(TD_GRV_3GRV)
|
||||
#define OBRACK TD(TD_BRCK_PARN_O)
|
||||
#define CBRACK TD(TD_BRCK_PARN_C)
|
||||
#define THREE TD(TD_3_GRV_ACT)
|
||||
#define STRIKE TD(TD_STRK_SHOT)
|
||||
#define HYPHEN TD(TD_HYPH_UNDR)
|
||||
#define CEDILLA TD(TD_C_CED)
|
||||
#define GAME TD(TD_GAME)
|
||||
|
||||
#define RAISE MO(1)
|
||||
#define LOWER MO(2)
|
||||
#define MEDIA MO(3)
|
||||
#define SYMBOL MO(1)
|
||||
#define MEDIA MO(2)
|
||||
#define ARROW MO(3)
|
||||
#define FUNCT MO(4)
|
||||
#define KEEB MO(5)
|
||||
|
||||
@ -34,14 +23,15 @@
|
||||
#define INACTIVE_DELAY 250
|
||||
#define SLEEP_DELAY 180000
|
||||
|
||||
#define HUE_MAX 254
|
||||
|
||||
enum {
|
||||
_QWERTY = 0,
|
||||
_RAISE,
|
||||
_LOWER,
|
||||
_SYMBOL,
|
||||
_MEDIA,
|
||||
_ARROW,
|
||||
_FUNCT,
|
||||
_KEEB,
|
||||
_GAMING,
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
@ -71,7 +61,6 @@ typedef enum {
|
||||
typedef enum {
|
||||
active = 0,
|
||||
inactive,
|
||||
sleeping,
|
||||
boot,
|
||||
} activityState;
|
||||
|
||||
@ -79,22 +68,7 @@ enum custom_keycodes {
|
||||
M_PMOD = SAFE_RANGE,
|
||||
M_SMOD,
|
||||
M_OS,
|
||||
M_SFT,
|
||||
M_SPC,
|
||||
};
|
||||
|
||||
enum tapdances {
|
||||
TD_3_GRV_ACT = 0,
|
||||
TD_C_CED,
|
||||
TD_GRV_3GRV,
|
||||
TD_SLSH_HTTP,
|
||||
TD_SING_DOUB,
|
||||
TD_HYPH_UNDR,
|
||||
TD_SPECIAL,
|
||||
TD_BRCK_PARN_O,
|
||||
TD_BRCK_PARN_C,
|
||||
TD_LALT_RALT,
|
||||
TD_GAME,
|
||||
M_DASH,
|
||||
};
|
||||
|
||||
void velocikey_accelerate(void);
|
||||
@ -123,17 +97,8 @@ void pri_mod(bool press);
|
||||
|
||||
void sec_mod(bool press);
|
||||
|
||||
void multi_tap(uint8_t num_of_chars, uint16_t keycode, bool use_shift);
|
||||
|
||||
void surround_type(uint8_t num_of_chars, uint16_t keycode, bool use_shift);
|
||||
|
||||
void long_keystroke(size_t num_of_keys, uint16_t keys[]);
|
||||
|
||||
void dance_grv (qk_tap_dance_state_t *state, void *user_data);
|
||||
void dance_quot (qk_tap_dance_state_t *state, void *user_data);
|
||||
void dance_strk (qk_tap_dance_state_t *state, void *user_data);
|
||||
void dance_3 (qk_tap_dance_state_t *state, void *user_data);
|
||||
void dance_c (qk_tap_dance_state_t *state, void *user_data);
|
||||
void dance_game (qk_tap_dance_state_t *state, void *user_data);
|
||||
|
||||
int cur_dance (qk_tap_dance_state_t *state);
|
||||
void spc_finished (qk_tap_dance_state_t *state, void *user_data);
|
||||
void spc_reset (qk_tap_dance_state_t *state, void *user_data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user