mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-06-01 12:00:08 -04:00
Added Host State Auto Mouse
- added mouse layer to userspace - Ploopy Nano now turns on num lock when pointer is moved - When the keyboard detects num lock it turns the mouse layer on - cleaned up unused key overrides and combos - Rules.mk was redone to drastically reduce memory footprint - merged all config files into the main one - made a clever way to have two _user functions in the userspace - revised drag scroll bind for comfort - removed dpi toggle functionality for nano for now. Need to find way to add it back
This commit is contained in:
parent
1f8602a49c
commit
169f363763
25 changed files with 309 additions and 486 deletions
|
@ -18,8 +18,11 @@ void setLunaJumped(void) { showedJump = true;}
|
|||
|
||||
|
||||
// Hold Navigation and Number to get Symbol
|
||||
layer_state_t layer_state_set_user(layer_state_t state) { return update_tri_layer_state(state, _NAVIGATION, _NUMBER, _SYMBOL); }
|
||||
|
||||
#if !defined(KEYBOARD_ploopyco)
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
return update_tri_layer_state(state, _NAVIGATION, _NUMBER, _SYMBOL);
|
||||
}
|
||||
#endif
|
||||
|
||||
// Customize behavior for existing keycodes or create new ones
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
|
@ -50,6 +53,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
return false;
|
||||
|
||||
/*
|
||||
// makes num lock a hold instead of toggle
|
||||
// prevents accidental ploopy nano going into bootloader
|
||||
case KC_NUM:
|
||||
|
@ -59,7 +63,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
tap_code(KC_NUM);
|
||||
}
|
||||
return false;
|
||||
|
||||
*/
|
||||
case KC_SPC:
|
||||
if (record->event.pressed) {
|
||||
isJumping = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue