#ifndef CONVERT_H #define CONVERT_H #include "common.h" #include #include #include "control_msg.h" bool convert_keycode_action(SDL_EventType from, enum android_keyevent_action *to); enum android_metastate convert_meta_state(SDL_Keymod mod); bool convert_keycode(SDL_Keycode from, enum android_keycode *to, uint16_t mod, bool prefer_text); enum android_motionevent_buttons convert_mouse_buttons(uint32_t state); bool convert_mouse_action(SDL_EventType from, enum android_motionevent_action *to); bool convert_touch_action(SDL_EventType from, enum android_motionevent_action *to); #endif