mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
cd92520983
want to support something like GBA WarioWare Twisted stuff, we will have to add motion support to libretro anyway - so can be shelved for now
26 lines
377 B
C
26 lines
377 B
C
#ifndef _ANDROID_GENERAL_H
|
|
#define _ANDROID_GENERAL_H
|
|
|
|
#include <android/sensor.h>
|
|
#include <android_native_app_glue.h>
|
|
#include "../../../boolean.h"
|
|
|
|
struct saved_state
|
|
{
|
|
float angle;
|
|
int32_t x;
|
|
int32_t y;
|
|
};
|
|
|
|
struct droid
|
|
{
|
|
struct android_app* app;
|
|
bool init_quit;
|
|
bool window_inited;
|
|
struct saved_state state;
|
|
};
|
|
|
|
extern struct droid g_android;
|
|
|
|
#endif
|