Slion 1,184 Posted August 28, 2021 Share Posted August 28, 2021 To keep on improving on our Lineage OS keyboard driver implementation here is a proposal about Fn passthrough. At the moment Fn modifiers AKA Yellow slant arrows are being handled internally by the driver and not passed as such to the application layer. Which on one hand is needed, notably to generate the proper key scan code without modifiers, think / and ?, however on the other hand it starves the application layers from an otherwise perfectly valid modifier which could be used in custom KCM layout notably to improve international characters support on thumb keyboard. Therefore this suggestion is about passing the Fn modifiers to the application layer when there is no specific Fn keymap for the key being hit. Basically if a key scan code is the same in both Fn and unmodified keymap then pass on the Fn modifier to the application layer instead of filtering it out. I reckon this should be straight forward to implement and should otherwise have no impact on the current driver behaviour. Much like my earlier Alt+Tab patch it will be a best of both world implementation. That would actually give KCM modders and applications not one, but two modifiers to work with since left and right Fn keys are not hardwired and can be distinguished by the driver. 3 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.