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:03:30 +0000
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <rKFHe81HLys0NhKZIqBt-2A1ZE_iORqxXFQ4QYL2V8H4RKXfmzmYkCkYDnWOjnguSRXthoa6rewZW-MsgPtWXy5IoZw5xJzJC3JkWGmbPjE=@proton.me> |
Sent with Proton Mail secure email. On Tuesday, 4 August 2026 at 12:32 PM, Aditya Garg <[email protected]>= wrote: >=20 >=20 >=20 >=20 > Sent with Proton Mail secure email. >=20 > On Monday, 3 August 2026 at 11:07 PM, Jiri Kosina <[email protected]> wrot= e: >=20 > > 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 f= n > > > keys and vice-versa upon double pressing the fn key. This behaviour c= an > > > be configured using the double_press_switch_time module parameter who= se > > > value depicts the time in milliseconds within which the fn key must b= e > > > 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 a= s > > kernel module parameters, but wouldn't it make more sense to start usin= g > > sysfs attributes for these? >=20 > Having sysfs attributes for some, and module parameters for other tweaks = seems more confusing to be tbh. Also, please review the latest version: https://lore.kernel.org/all/2026072= [email protected]/