03e53dc8a2
* feat-user-kuatsure: abstract symbol row out * feat-user-kuatsure: abstract grouped bracket, brace, paren out * fix-preonic-kuatsure: remove eol as requested by @drashna * feat-user-kuatsure: add KC_MAKE and KC_FLSH thanks to @drashna for the help * chore-preonic-kuatsure: remove auto shift * chore-user-kuatsure: move leader seq's to macro syntax * feat-user-kuatsure: add `KC_VRSN` key plus use it preonic keymap * chore-user-kuatsure: namespace keyboard macros `KB` * chore-preonic-kuatsure: move some keyboardy keys around * chore-preonic-kuatsure: remove parens, brackets, braces from lower * chore-user-kuatsure: move tmux window shifts to dbl press leaders * feat-user-kuatsure: add a computer lock leader seq * fix-preonic-kuatsure: go back to lower brackets * chore-preonic-kuatsure: clear out raise * feat-various-kuatsure: add meh + tab mod tap * chore-preonic-kuatsure: `raise` eats `game_mod` layer * fix-preonic-kuatsure: reverse pg up and pg down * chore-user-kuatsure: add double tap to turn off music * chore-user-kuatsure: move like seqs together * chore-preonic-kuatsure: add a few more items to the num pad on raise * feat-user-kuatsure: re-enable td for <> keys * chore-user-kuatsure: give a little more grace period for leader * fix-user-kuatsure: give lock leader a gui buffer no timer or anything, but alfred doesn't boot up as quickly as I would like sometimes gui doesn't do anything but gives a little bit of a time bump * fix-user-kuatsure: changes from @drashna review
61 lines
2.1 KiB
C
61 lines
2.1 KiB
C
#ifndef KUATSURE
|
|
#define KUATSURE
|
|
|
|
#include "quantum.h"
|
|
|
|
enum kuatsure_keycodes {
|
|
KB_MAKE = SAFE_RANGE,
|
|
KB_FLSH,
|
|
KB_VRSN,
|
|
|
|
USER_SAFE_RANGE,
|
|
};
|
|
|
|
enum {
|
|
TD_LBRC = 0,
|
|
TD_RBRC,
|
|
};
|
|
|
|
#define KT_LBRC TD(TD_LBRC)
|
|
#define KT_RBRC TD(TD_RBRC)
|
|
|
|
#define TAPPING_TERM 200
|
|
|
|
#define LEADER_TIMEOUT 250
|
|
#define LEADER_PER_KEY_TIMING
|
|
|
|
void tmux_prefix(void);
|
|
void tmux_pane_zoom(void);
|
|
|
|
#define KT_CESC CTL_T(KC_ESC)
|
|
#define KT_MTAB MEH_T(KC_TAB)
|
|
|
|
#undef LEADER_TIMEOUT
|
|
#define LEADER_TIMEOUT 300
|
|
|
|
#define LAYOUT_preonic_grid_wrapper(...) LAYOUT_preonic_grid(__VA_ARGS__)
|
|
|
|
#define _________________NUMBER_L1_________________ KC_1, KC_2, KC_3, KC_4, KC_5
|
|
#define _________________NUMBER_R1_________________ KC_6, KC_7, KC_8, KC_9, KC_0
|
|
|
|
#define _________________SYMBOL_L1_________________ KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC
|
|
#define _________________SYMBOL_R1_________________ KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN
|
|
|
|
#define _________________QWERTY_L1_________________ KC_Q, KC_W, KC_E, KC_R, KC_T
|
|
#define _________________QWERTY_L2_________________ KC_A, KC_S, KC_D, KC_F, KC_G
|
|
#define _________________QWERTY_L3_________________ KC_Z, KC_X, KC_C, KC_V, KC_B
|
|
|
|
#define _________________QWERTY_R1_________________ KC_Y, KC_U, KC_I, KC_O, KC_P
|
|
#define _________________QWERTY_R2_________________ KC_H, KC_J, KC_K, KC_L, KC_SCLN
|
|
#define _________________QWERTY_R3_________________ KC_N, KC_M, KC_COMM, KC_DOT, KC_SLASH
|
|
|
|
#define ____________FUNCTION_1____________ KC_F1, KC_F2, KC_F3, KC_F4
|
|
#define ____________FUNCTION_2____________ KC_F5, KC_F6, KC_F7, KC_F8
|
|
#define ____________FUNCTION_3____________ KC_F9, KC_F10, KC_F11, KC_F12
|
|
|
|
#define ___SQBRACKETS___ KT_LBRC, KT_RBRC
|
|
#define _____PARENS_____ KC_LPRN, KC_RPRN
|
|
#define ____CRBRACES____ KC_LCBR, KC_RCBR
|
|
#define ___ANBRACKETS___ KC_LT, KC_GT
|
|
|
|
#endif
|