Skip to content

Support Gameplay Controller Rumble#47

Merged
ericmcdaniel merged 4 commits intomainfrom
engine/rumble
Mar 21, 2026
Merged

Support Gameplay Controller Rumble#47
ericmcdaniel merged 4 commits intomainfrom
engine/rumble

Conversation

@ericmcdaniel
Copy link
Copy Markdown
Owner

Support for haptic feedback using the built-in rumble support on the PS3 controller. Points scored, gems captured, and player deaths all result in various rumble speeds, intensities, and sequences.

Technical Details

The Rumble API only requires on parameter, Player::RumbleOptions. The current supported options define their duration, intensity, and overall pattern/sequence. The support options are:

RumbeOption Description
SingleQuickPulse A soft, quick pulse
DoubleQuickPulse Similar to SingleQuickPulse, but has two quick soft pulses
DeathPulse A stronger rumble to indicate death, represented as Short-Long-Short-Long (K in Morse code)

@ericmcdaniel ericmcdaniel merged commit 28c82a8 into main Mar 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant