Add support for Aorus 16x and additional Fn key combinations#30
Open
sasa-tomic wants to merge 1 commit into
Open
Add support for Aorus 16x and additional Fn key combinations#30sasa-tomic wants to merge 1 commit into
sasa-tomic wants to merge 1 commit into
Conversation
Extend the HID driver to handle more Fn key combinations: - Fn+F2: WiFi toggle (KEY_WLAN) - Fn+F5: Display switch (KEY_SWITCHVIDEOMODE) - Fn+F8/F9: Volume down/up via Consumer Control device - Fn+F11: Airplane mode (KEY_RFKILL) - Fn+F12: Programmable key (KEY_PROG1) - Fn+ESC: Fan control placeholder (KEY_PROG2) Changes include: - Create dedicated input device for Fn key events - Find and use Consumer Control device for volume keys to enable proper desktop environment integration - Add ELAN0A04 touchpad identifier for Aorus 16X - Add proper remove callback for cleanup - Refactor code for consistency and maintainability - Use ARRAY_SIZE() macro and kernel coding style The volume keys work correctly but may not show OSD on some desktop environments due to how they handle input events from non-native devices. Tested on Aorus 16X (0414:8005).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend the HID driver to handle more Fn key combinations:
Changes include:
The volume keys work correctly but may not show OSD on some desktop environments due to how they handle input events from non-native devices.
Tested on Aorus 16X (0414:8005).