Skip to content
Commit a0a5c2a6 authored by ValdikSS's avatar ValdikSS Committed by Jiri Kosina
Browse files

HID: lenovo: Sync Fn-lock state on button press for Compact and TrackPoint II keyboards



When Fn-Esc is pressed on the keyboard, it emits the scancode which could
be used to sync the fn_lock sysfs state.

Previously fn_lock only allowed to set new Fn-lock state and did not
keep the value in sync upon Fn-Esc press, which is now fixed.

Signed-off-by: default avatarFlorian Klink <flokli@flokli.de>
Reviewed-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 24401f29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment