Re-Implement the ForceFeedback SCtrl #1549
SuperFromND
started this conversation in
Engine development
Replies: 2 comments 1 reply
|
This should be implemented if nothing else because it was always there in Mugen but never worked, if I recall correctly. Just something that has to be done. |
1 reply
|
yes please |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This is more of a reminder than a proper discussion, but as of right now Ikemen GO does not yet support the state controller
ForceFeedback, which allows the controller to rumble for a given duration and amplitude.We do sort-of implement this already (see bytecode.go at line ~7236 as of this writing), but it seems like the GLFW input library itself doesn't give any way for us to actually use this data; i.e. sending it to a controller, so instead the implementation is commented out and the controller just acts as a no-op.
GLFW has had an open ticket for implementing general-purpose rumble functions (glfw/glfw#57) open since 2013, but progress doesn't seem to have been made much since around 2020. Kinc does appear to have an API command for it,
kinc_gamepad_rumble(), but I'm not familiar enough with the library (nor how Ikemen uses it) to implement it myself.All reactions