mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-09 00:54:17 -04:00
Finishing removing automouse
- Testing out the toggle mouse layer instead, so far it's okay
This commit is contained in:
parent
57937cb5f3
commit
2f6929eae1
8 changed files with 5 additions and 63 deletions
|
@ -1,15 +0,0 @@
|
|||
#include "hoststateautomouse.h"
|
||||
|
||||
|
||||
// keyboard side code to simulate auto mouse between ploopy nano and qmk keyboard
|
||||
// nano pointer movement activates auto mouse layer, which toggles numlock
|
||||
// when num lock is enabled, keyboard turns on mouse layer
|
||||
bool led_update_user(led_t led_state) {
|
||||
if(host_keyboard_led_state().num_lock) {
|
||||
layer_on(_MOUSE);
|
||||
} else if (!host_keyboard_led_state().num_lock) {
|
||||
layer_off(_MOUSE);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "t4corun.h"
|
Loading…
Add table
Add a link
Reference in a new issue