Re: [PATCH v2 RESEND] HID: appletb-kbd: add option to switch default layer on double pressing fn key
Aditya Garg <[email protected]> Tue, 04 Aug 2026 07:02:04 +0000
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <3LY97dj4t_38C5heLymdMO_2Hgu7htkZuZf99ifQpLemEFQU80GOyb2HE85V78h8dT9LyPAWqTYEoTe4iJncvoiT752ACJm-XLF_jd7OMPo=@proton.me> |
Sent with Proton Mail secure email. On Monday, 3 August 2026 at 11:07 PM, Jiri Kosina <[email protected]> wrote: > On Sat, 20 Jun 2026, Aditya Garg wrote: >=20 > > 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. >=20 > 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? Having sysfs attributes for some, and module parameters for other tweaks se= ems more confusing to be tbh.