Commit Graph

1 Commits

Author SHA1 Message Date
type-two
4f37adb4bd PS5 controller support: DualSense over Bluetooth via Gamepad API
js/pad.js synthesizes the same KeyboardEvents the keyboard produces —
one input path, zero new handler code. Stick/dpad steer (+variants),
R2 push, CROSS ollie, SQUARE/CIRCLE/TRIANGLE flip/heel/shove, R1 tre,
L1 fs shove, L2 hardflip, OPTIONS start, CREATE reset. Dual-rumble on
bails and bonks. Title screen: dpad cycles discipline, CROSS drops in
(Space now works there for keyboards too). Verified with a stubbed
DualSense through __step: push 7.6m/s, steer, ollie->kickflip x2 (220).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 22:26:34 +10:00