Support vibration magnitude on Android 8.0 (thanks Rachel!)

This commit is contained in:
Sam Lantinga 2018-10-16 08:29:27 -07:00
parent 7be4fca62c
commit b0c48dd9dd
4 changed files with 55 additions and 9 deletions

View file

@ -84,7 +84,7 @@ void Android_JNI_PollInputDevices(void);
/* Haptic support */
void Android_JNI_PollHapticDevices(void);
void Android_JNI_HapticRun(int device_id, int length);
void Android_JNI_HapticRun(int device_id, float intensity, int length);
void Android_JNI_HapticStop(int device_id);
/* Video */