mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
uw: Fix touchpad toggle
Actually only returning notify stop on last key messes up some platforms leading to that next toggle does not register. Should either stop all or none. From now stopping none.
This commit is contained in:
parent
d035d7afb0
commit
eea83c3a37
|
@ -110,7 +110,7 @@ static int keyboard_notifier_callb(struct notifier_block *nb, unsigned long code
|
||||||
if (prevprev_key == 85 && prev_key == 29) {
|
if (prevprev_key == 85 && prev_key == 29) {
|
||||||
TUXEDO_DEBUG("Touchpad Toggle\n");
|
TUXEDO_DEBUG("Touchpad Toggle\n");
|
||||||
schedule_work(&uniwill_key_event_work);
|
schedule_work(&uniwill_key_event_work);
|
||||||
ret = NOTIFY_STOP;
|
ret = NOTIFY_OK;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue