RE: [PATCH 2/3] platform/x86: dell-wmi: add new keymap type 0x0012

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> this is the WMI event from pressing the Fn lock key.
> this indicates which mode it is switching to.
> 
> this changes if the default for pressing the F[1-12] should be Function or
> media.
> the scancodes of the Fn keys are properly transmitted, this just inverts
> which
> ones are sent by default and which are sent when pressing the Fn+F[1-12]
> 
> In other words, there are 24 scancode the only difference is which 12 are
> default
> and which 12 are when pressing with the Fn key
> >>
> >> Therefore i agree this should have it's own case in

To me this sounds like it makes most sense to either be an evdev switch which indicates
which mode the fn key is set to when an event comes in.  You can populate the starting
mode by looking up from a token.
https://github.com/dell/libsmbios/blob/master/doc/token_list.csv#L987

Any other thoughts from others?




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux