Vibrations on Android
Posted: Mon Jan 02, 2023 12:13 pm
Hello. Today, I'm trying to use the code I wrote for shaking the XInput controller to also shake the Android booty.
I added the permissions in the AndroidManifest.xml but I have no clues of how to access Android functions such as VIBRATOR_MANAGER_SERVICE from ZGE.
I guess I have to use ZExternalLibrary?
Maybe adding public abstract Object getSystemService (String name) to the ZExternalLibrary.Source
But what would be the ModuleName?
I added the permissions in the AndroidManifest.xml but I have no clues of how to access Android functions such as VIBRATOR_MANAGER_SERVICE from ZGE.
I guess I have to use ZExternalLibrary?
Maybe adding public abstract Object getSystemService (String name) to the ZExternalLibrary.Source
But what would be the ModuleName?