Thread (10 messages) 10 messages, 4 authors, 2021-01-14

Re: [PATCH v2] HID: Add Wireless Radio Control feature for Chicony devices

flat view

From: Jiri Kosina <jikos@kernel.org>
Date: 2021-01-14 12:14:41
Also in: lkml

On Wed, 23 Dec 2020, Jian-Hong Pan wrote:
Some Chicony's keyboards support airplane mode hotkey (Fn+F2) with
"Wireless Radio Control" feature. For example, the wireless keyboard
[04f2:1236] shipped with ASUS all-in-one desktop.

After consulting Chicony for this hotkey, learned the device will send
with 0x11 as the report ID and 0x1 as the value when the key is pressed
down.

This patch maps the event as KEY_RFKILL.

Signed-off-by: Jian-Hong Pan <redacted>
---
v2: Remove the duplicated key pressed check.
Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help