feat(input): add AYANEO Pocket S Mini support - #681
Draft
mydanyi wants to merge 2 commits into
Draft
Conversation
Add a device-tree matched profile for the AYANEO Pocket S Mini. Normalize its Nintendo-labeled face buttons to positional outputs, map the DirectInput triggers, and expose the two GPIO system buttons. Support both the AYANEO DirectInput and internal XInput controller modes. AI assistance: OpenAI Codex (GPT-5) compared the downstream ROCKNIX profile with current upstream patterns, drafted the YAML changes, and ran validation checks. I reviewed the complete diff against the captured device data and the merged downstream configuration.
Use the physical A, B, X, Y, AYANEO, and Home control names so each mapping can be identified without relying on its virtual output. AI assistance: OpenAI Codex (GPT-5) compared these descriptions with the naming convention established in InputPlumber#670. I reviewed the complete five-line naming-only diff.
pastaq
marked this pull request as draft
September 2, 2026 20:32
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.
Summary
I have an AYANEO Pocket S Mini running ROCKNIX. Device support was merged in ROCKNIX/distribution#3177, but its InputPlumber configuration remained distribution-local.
This PR adds:
ayaneo,pocket-s-miniaya10capability map4001:0428and internal XInput045e:028eThe capability map only contains inputs that differ from InputPlumber's default evdev behavior.
Button mapping
BTN_EAST/BTN_SOUTH/BTN_NORTH/BTN_WESTBTN_START/BTN_SELECTBTN_TL/BTN_TRABS_BRAKE/GASin AYANEO mode,ABS_Z/RZin XInput modeABS_X/YandABS_RX/RYBTN_THUMBL/BTN_THUMBRABS_HAT0X/YKEY_AKEY_EQUALTest environment
0.78.1(23f84b78521a4e12f2ff7b16fa9e0dc03ccb1846)Validation
git diff --checkpassesKnown limitation
LC and RC remain unmapped because their source events have not been verified.
Related downstream work
AI disclosure
I used OpenAI Codex (GPT-5) to compare the hardware-validated ROCKNIX configuration with current InputPlumber conventions, prepare the initial YAML changes, and run validation. I reviewed the complete final diff against the captured device data and the merged downstream configuration.