mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
(android_joypad.c) Small cleanup
This commit is contained in:
parent
5ef8b69c9c
commit
4a5593255f
@ -30,15 +30,13 @@ static bool android_joypad_init(void *data)
|
||||
|
||||
static bool android_joypad_button(unsigned port, uint16_t joykey)
|
||||
{
|
||||
unsigned hat_dir = 0;
|
||||
uint8_t *buf = android_keyboard_state_get(port);
|
||||
struct android_app *android_app = (struct android_app*)g_android;
|
||||
unsigned hat_dir = GET_HAT_DIR(joykey);
|
||||
|
||||
if (port >= MAX_PADS)
|
||||
return false;
|
||||
|
||||
hat_dir = GET_HAT_DIR(joykey);
|
||||
|
||||
if (hat_dir)
|
||||
{
|
||||
unsigned h = GET_HAT(joykey);
|
||||
|
Loading…
x
Reference in New Issue
Block a user