open-manifold / Open-Manifold

A free and open-source clone of Rhythm 'n' Face for PC.
Other
10 stars 2 forks source link

Implement Controller Rumble/Haptic Feedback #8

Closed SuperFromND closed 1 year ago

SuperFromND commented 1 year ago

Rhythm 'n' Face has a feature where the controller will rumble on every beat (ignoring "sub-beats") in order to give the player a way to feel what their timing should be. Thus, Open Manifold should likely follow suit. On a related note, I think it'd be even cooler if the rumble got stronger as long as a combo is kept up.

This should be pretty simple to support as SDL2 natively supports both controller rumble and haptics. Unfortunately, I don't currently own any controllers with rumble that SDL2 can interface with, so I can't actually test if this works.

SuperFromND commented 1 year ago

I just bought a controller with rumble motors (a PowerA Xbox Series X controller, pretty good for 26 bucks!), so I was finally able to test and implement this. :+1: