api-impl: implement vibrator using evdev

we use the first vibrator that is marked for use with feedbackd in udev
This commit is contained in:
Mis012
2024-03-22 13:17:09 +01:00
parent 3022350844
commit d122b2a528
4 changed files with 160 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class android_os_Vibrator */
#ifndef _Included_android_os_Vibrator
#define _Included_android_os_Vibrator
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: android_os_Vibrator
* Method: native_vibrate
* Signature: (IJ)V
*/
JNIEXPORT void JNICALL Java_android_os_Vibrator_native_1vibrate
(JNIEnv *, jobject, jint, jlong);
/*
* Class: android_os_Vibrator
* Method: native_constructor
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_android_os_Vibrator_native_1constructor
(JNIEnv *, jobject);
#ifdef __cplusplus
}
#endif
#endif