Skip to content

Add gamepad controller support for physical match control#202

Open
sshbio wants to merge 4 commits intoRoboCup-SSL:masterfrom
Immortals-Robotics:feat/add-game-controller
Open

Add gamepad controller support for physical match control#202
sshbio wants to merge 4 commits intoRoboCup-SSL:masterfrom
Immortals-Robotics:feat/add-game-controller

Conversation

@sshbio
Copy link
Copy Markdown

@sshbio sshbio commented Mar 11, 2026

Introduces a GamepadController provider that maps PS5 DualSense (and compatible) gamepad buttons to game commands (HALT, STOP, kick-offs, free kicks, timeouts, continue actions, auto-continue toggle). Adds a GamepadStatus toolbar component showing connection state, active button, and a button-to-action reference tooltip.
Also updates frontend protobuf generated files.

Introduces a GamepadController provider that maps PS5 DualSense (and
compatible) gamepad buttons to game commands (HALT, STOP, kick-offs,
free kicks, timeouts, continue actions, auto-continue toggle).
Adds a GamepadStatus toolbar component showing connection state, active
button, and a button-to-action reference tooltip.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sshbio sshbio force-pushed the feat/add-game-controller branch from 1ce0aee to 5dea801 Compare March 11, 2026 01:11
sshbio and others added 3 commits March 11, 2026 02:12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces q-tooltip with q-menu so the button map stays visible
until the user dismisses it by clicking elsewhere.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@g3force
Copy link
Copy Markdown
Member

g3force commented Mar 17, 2026

Thx for the contribution. I've tried it out, but does not seem to detect my Xbox One controller. Is there anything to be configured in the browser to enable Gamepads? Or have I missed something that filters for PS5 controller?

Also, I get a warning in the browser console:

main.ts:24 [Vue warn]: Extraneous non-props attributes (class) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes. 
  at <GamepadStatus class="q-mx-xs" > 
  at <QToolbar> 
  at <QHeader elevated="" class="bg-primary text-white" height-hint="98" > 
  at <QLayout view="hHh lpR fFf" > 
  at <App>

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