diff options
author | 2025-02-17 04:43:56 +0000 | |
---|---|---|
committer | 2025-02-18 22:01:54 +0100 | |
commit | 534bac4f126bc3a97c93c5757e17f533a9f598b4 (patch) | |
tree | e4a38401278b2e11c6706d734e7ddf373e565205 /scripts/gdb/linux/utils.py | |
parent | HID: hid-appletb-bl: use appletb_bl_brightness_map instead of magic numbers to set default brightness (diff) | |
download | wireguard-linux-534bac4f126bc3a97c93c5757e17f533a9f598b4.tar.xz wireguard-linux-534bac4f126bc3a97c93c5757e17f533a9f598b4.zip |
HID: hid-appletb-kbd: simplify logic used to switch between media and function keys on pressing fn key
This commit simplifies the logic in appletb_kbd_inp_event used for
switching between the media and function keys on pressing the fn key.
We now also prevent touching the kbd->saved_mode variable in case the esc
key only mode is chosen.
The following small fixes have also been done in this patch:
- A small comment style error has been fixed
- Fixed spelling in MODULE_DESCRIPTION
- I have added myself to MODULE_AUTHOR
Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions