Re: [PATCH v2 RESEND] HID: appletb-kbd: add option to switch default layer on double pressing fn key

Jiri Kosina <[email protected]>
Newsgroups gmane.linux.kernel.input,gmane.linux.kernel
Message-ID <[email protected]>
On Sat, 20 Jun 2026, Aditya Garg wrote:

> From: Aditya Garg <[email protected]>
> 
> This patch enables a user to switch the default layer from media to fn
> keys and vice-versa upon double pressing the fn key. This behaviour can
> be configured using the double_press_switch_time module parameter whose
> value depicts the time in milliseconds within which the fn key must be
> pressed again to switch the default layer. If set to 0, it simply
> disables this behaviour.

I know that historically the apple driver had all this kind of tuning as 
kernel module parameters, but wouldn't it make more sense to start using 
sysfs attributes for these?

Thanks,

-- 
Jiri Kosina
SUSE Labs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.