AM2R-Community-Developers / AM2R-Community-Updates

Source code for AM2R 1.5.2+, free of copyrighted assets and trademarks.
https://www.reddit.com/r/AM2R/
Other
139 stars 27 forks source link

Only execute immersion functions on android #109

Open Miepee opened 2 years ago

Miepee commented 2 years ago

This guarantuees to only execute the immersion functions on Android.

jherreral commented 2 years ago

Nice! There is another Haptics function, immersion_play_effect, but it seems it is never called outside Android. Did you check it?

Miepee commented 2 years ago

Yes I did. Some immersion functions are also in touch_keys as well as in ctrl_vibrate. touch_keys is completely android only, and the call in ctrl_vibrate is already locked behind an OS check.