Skip to content

Present the Ally gaming pad as a Steam Deck - #90

Merged
DanielJBurbridge merged 2 commits into
feat/ally-parity-integration-20261111from
cursor/ally-deck-glyphs-c5aa
Nov 23, 2026
Merged

DanielJBurbridge merged 2 commits into
feat/ally-parity-integration-20261111from
cursor/ally-deck-glyphs-c5aa

Conversation

@DanielJBurbridge

@DanielJBurbridge DanielJBurbridge commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

What changes

In the handheld gaming session, Omarchy Ally gaming emulated a Sony DualSense Edge (054c:0df2), so Steam drew PlayStation glyphs on an Ally whose face buttons are labelled ABXY. The gaming profile now uses InputPlumber's deck target, the virtual Valve Steam Deck controller 28de:1205.

That target is the one that keeps the three things this pad needs at once. It reports a gyroscope and an accelerometer, so the Ally's BMI323 can reach Steam. It maps LeftPaddle1 and RightPaddle1 to Deck L4 and R4, and the profile still does not remap the grips, so M1 and M2 pass through. Steam draws A at the bottom, B on the right, X on the left and Y on the top, which is where the Ally prints them. Quick Access is its own button on this target, so Armoury short is the Deck … button.

xbox-elite (045e:0b00) and xbox-series (045e:0b12) are Xbox glyphs with no gyroscope capability, and both turn Quick Access into Guide then South, which also presses A. xbox-series has no paddle capabilities. deck-uhid uses the same report, but on the Ally composite it advertises 28de:12fd. InputPlumber only attaches the real Deck id 28de:1205 on deck, because Steam checks the interface number.

Bazzite's handheld note says paddles want a DualSense Edge or Steam Deck target, that an Xbox target drops gyro, and that deck-uhid is the fallback when gyro misbehaves. HHD's Ally path has no [inputplumber] section, so that stack loads deck-uhid. Those trees were compared and nothing was copied. The target name is the InputPlumber 0.84.0 schema enum. The profile makes no licence claim.

Guide, Quick Access, Armoury long (omarchy_overlay) and Command Centre long (Guide then West) are unchanged. Desktop, the greeter and the on-screen keyboard stay on xbox-elite. packages/omarchy-gaming-session is untouched, so pkgrel stays 13, which #89 already set. L300–L309 from that merge stay in the ledger, and L310–L319 follow them.

Rebased onto feat/ally-parity-integration-20261111 at b35296cc.

vhci_hcd is what creates the Deck pad. install-vhci writes /etc/modules-load.d/omarchy-rog-ally-vhci.conf only when omarchy-hw-rog-ally succeeds. install/hardware/asus/inputplumber.sh calls it inside that same predicate, and migrations/1795442196.sh calls it the same way for an install that is already on the machine. A gaming load tries the module and then checks /sys/module/vhci_hcd. If the module cannot be loaded, or that directory is absent, that load sends ds5-edge, logs it, and leaves gaming.yaml on disk as deck. A later load with the module present sends deck again. Desktop, the greeter and the on-screen keyboard do not load the module.

Command Centre long stays Guide then West. InputPlumber sends West as Deck Y, so the chord arrives as Steam+Y. That mapping waits for a press test (L311). After the test, the button becomes North.

Model: grok-4.7

Rollback: put ds5-edge back as the gamepad entry in default/inputplumber/profiles/gaming.yaml and run sudo omarchy-inputplumber-profile load gaming.

Risks

  • Steam outside SteamOS treats 28de:1205 as a Steam Deck. It can apply Deck controller config, including trackpad settings this pad does not have. A game that only reads an Xbox evdev node does not see this virtual USB device until Steam Input translates it.
  • If vhci_hcd cannot be loaded, that gaming load is a DualSense Edge for that boot. The next successful load with the module present returns to deck.
  • InputPlumber Allow themes to have an install.sh file that's offered on install omacom/omarchy#433 saw SDL errors while the virtual USB device was still enumerating. Suspend used to drop this target (InputPlumber Add omarchy-set-background script omacom/omarchy#165, fixed in 0.38; the schema this tree pins is 0.84.0).
  • Command Centre long is still Guide then West. On this target West is the top face button, the Ally's Y. Steam's Deck keyboard chord is Steam+X (North, the left button). The chord is left as shipped until a press test.

Verification

  • bash test/shell.d/inputplumber-profile-test.sh passed (exit 0). The gaming profile is deck, mouse, keyboard. A missing vhci_hcd sends ds5-edge for that load and does not rewrite the file. A present module sends deck and does not modprobe again. Desktop does not load the module. install-vhci writes nothing unless omarchy-hw-rog-ally succeeds, and a non-root caller is refused.

Not checked on an RC71L. This checkout cannot load InputPlumber or Steam, so the glyphs, gyro and paddles are from the 0.84.0 target source, not a press on the pad.

install-option-b.sh is not in this tree, so the 054c:0df2 check named in the review had no file to update.

Screenshots

No visible change: the shell, panels and desktop theme are untouched. The glyph change is Steam's controller art in the gaming session on an RC71L, which this checkout cannot drive.

Open in Web Open in Cursor 

@DanielJBurbridge DanielJBurbridge left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dev-red review at cc671ec: content PASS, but not mergeable yet (mechanical issue only).

Blocker (mechanical): docs/handheld/alpha-followups.md conflicts with integ b35296c, because #89's L300–L309 and this PR's L310 both append at the end of the file. Rebase onto b35296c and keep both blocks. I'll do one delta re-check on the new head.

Checks:

  • One commit, with the Model: grok-4.7 trailer, and the PR body states the model.
  • CI test is green.
  • alpha-followups: additions only, and the L310–L319 range is clean.
  • inputplumber-profile-test.sh passes, and reverting to ds5-edge makes it fail.
  • gaming.yaml validates against the InputPlumber v0.84.0 schema.

Safety: the exit paths are unchanged.

  • Command Centre short is still Guide, and Armoury long is still the overlay.
  • Armoury short is now a real QAM button.
  • Switch to Desktop is in the Steam UI and doesn't depend on the controller type.
  • If the Deck pad can't be created, Steam sees no gamepad, but touch and power still work. ds5-edge had the same no-fallback behaviour.

Mediums (alpha-followups):

  • M1: vhci_hcd isn't loaded on the Ally (kernel 7.2.15, inputplumber 0.84.0). After a kernel upgrade without a reboot, the modprobe fails and gaming starts with no pad. Before the device deploy, either ship a gated modules-load.d entry for vhci-hcd (hardware leaf plus a migration), or verify after the load that deck is live and fall back to gamepad if not.
  • M2: InputPlumber sends West as Deck Y (steam_deck.rs:622–623), so Command Centre long gives Steam+Y. Steam's keyboard chord is Steam+X. docs/rog-ally-touch-keyboard.md is wrong about this. After a press test, change the button to North and update the test assert at :150.

Lows:

  • Docs still name ds5-edge: 01-controller-button-map D1/D7/C3/C4, README:50, and 02-mode-switch D8/OQ-11.
  • Reword the GPL note at gaming.yaml:4: it's a target name only, and nothing was copied.
  • install-option-b.sh still verifies 054c:0df2. It needs 28de:1205.
  • L4/R4 paddles need a press test.
  • InputPlumber omacom#433: the Deck target can race when SDL opens it, which may affect non-Steam launchers.

Parity: matches Bazzite 44+, which defaults handhelds to the Steam Deck pad. Picking deck over deck-uhid is defensible, given InputPlumber omacom#709.

Model: grok-4.7

cursoragent and others added 2 commits November 23, 2026 13:56
The gaming profile emulated a DualSense Edge, so Steam drew PlayStation
glyphs. The deck target is Valve 28de:1205, with gyro, back paddles and
ABXY in the Ally's printed positions. Desktop profiles stay on xbox-elite.

Model: grok-4.7
Co-authored-by: Daniel Burbridge <DanielJBurbridge@users.noreply.github.com>
A kernel upgrade without a reboot left the gaming profile with no pad.
The Ally leaf and a migration write modules-load.d, and a gaming load
falls back to ds5-edge when the module or its sysfs directory is absent.

Model: grok-4.7
Co-authored-by: Daniel Burbridge <DanielJBurbridge@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/ally-deck-glyphs-c5aa branch from cc671ec to 4159852 Compare November 23, 2026 14:00

@DanielJBurbridge DanielJBurbridge left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dev-red delta review at 4159852: PASS.

  • Rebased onto integ b35296c, which is an ancestor. The alpha-followups changes are additions only (0 deletions), and both the L300 and L310 blocks are kept.
  • Two commits, both with Model: grok-4.7.
  • CI: test and i18n-check are green.
  • M1 fixed:
    • install-vhci is root-only and a no-op off omarchy-hw-rog-ally. It writes /etc/modules-load.d/omarchy-rog-ally-vhci.conf through _write_bytes, which refuses to write through a symlink.
    • It's called from the hardware leaf with a warn-and-continue, and from migration 1795442196, both gated on the Ally.
    • A gaming load modprobes the module and checks sysfs. If either fails, that load only sends ds5-edge and logs it, and gaming.yaml is left unchanged. That also covers the case where the kernel was upgraded without a reboot.
    • Desktop loads don't touch vhci.
    • Tests cover these paths: module absent, modprobe OK but sysfs absent, module appearing later, module present, desktop, and non-root.
  • M2 is logged as L311. The docs lows are fixed, and the gaming.yaml licence wording is fine.

Low (alpha-followups): the migration has no || warn, so a write error would fail that migration. That's a rare case, since a failed modprobe already returns 0.

The 054c:0df2 check was in the box deploy script /workspace/ally-recover-20261123/install-option-b.sh (lines 66 and 228), not in this repo. It needs 28de:1205 before the next Ally deploy.

Model: grok-4.7

@DanielJBurbridge
DanielJBurbridge merged commit a58c8ec into feat/ally-parity-integration-20261111 Nov 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants