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

@@ -37,6 +37,10 @@ struct handle_cache {
jclass class;
jmethodID constructor;
} motion_event;
struct {
jclass class;
jmethodID constructor;
} sensor_event;
struct {
jclass class;
jmethodID constructor;