api-impl: implement accelerometer support, no backend yet

currently x,y,z values are hardcoded and can only be changed with gdb
This commit is contained in:
Mis012
2024-03-16 15:04:02 +01:00
parent 6443e3977c
commit 20b179387b
7 changed files with 80 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class android_hardware_SensorManager */
#ifndef _Included_android_hardware_SensorManager
#define _Included_android_hardware_SensorManager
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: android_hardware_SensorManager
* Method: register_accelerometer_listener_native
* Signature: (Landroid/hardware/SensorEventListener;Landroid/hardware/Sensor;)V
*/
JNIEXPORT void JNICALL Java_android_hardware_SensorManager_register_1accelerometer_1listener_1native
(JNIEnv *, jobject, jobject, jobject);
#ifdef __cplusplus
}
#endif
#endif