mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-30 02:50:10 -04:00
Introduced Ultra-Tab
- num layer right encoder will either tab or shift tab. leaving it alone with tab through elements or can hold alt or ctrl for those things - used similar logic to do mouse scroll zoom becuase keyboard shortcuts are not consistent across apps - Damn this is pretty damn clever
This commit is contained in:
parent
edf4c932f2
commit
047ca9d0a9
5 changed files with 58 additions and 35 deletions
|
@ -8,7 +8,7 @@ bool isJumpShown(void);
|
|||
void setLunaJumped(void);
|
||||
#endif // WPM_ENABLE
|
||||
|
||||
#define ALT_TAB_TIMEOUT 1000
|
||||
#define HOLD_MOD_TIMEOUT 1000
|
||||
|
||||
// put the default base layers first
|
||||
enum layers {
|
||||
|
@ -56,8 +56,11 @@ enum keycodes {
|
|||
TR_HNXT, // HF_NEXT or HF_PREV when shift is held
|
||||
TR_CKUP, // CK_UP or CK_DOWN when shift is held
|
||||
|
||||
ALT_TAB,
|
||||
RALT_TB,
|
||||
FWD_TAB,
|
||||
BCK_TAB,
|
||||
|
||||
ZOOMIN,
|
||||
ZOOMOUT,
|
||||
|
||||
BASELYR,
|
||||
RBSELYR
|
||||
|
@ -83,8 +86,6 @@ enum keycodes {
|
|||
#define SC_WIN LGUI(KC_TAB)
|
||||
|
||||
// Zoom for encoders
|
||||
#define ZOOMIN LCTL(KC_PLUS)
|
||||
#define ZOOMOUT LCTL(KC_MINS)
|
||||
#define ZOOMRST LCTL(KC_0)
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue