2012-10-16 17:46:31 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2013-01-01 00:37:37 +00:00
|
|
|
* Copyright (C) 2010-2013 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2013 - Daniel De Matteis
|
2012-10-16 17:46:31 +00:00
|
|
|
*
|
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2012-10-28 21:20:22 +00:00
|
|
|
#include <android/keycodes.h>
|
2012-11-01 04:48:20 +00:00
|
|
|
#include <unistd.h>
|
2012-12-31 17:02:20 +00:00
|
|
|
#include "input_autodetect.h"
|
2013-01-09 04:12:56 +00:00
|
|
|
#include "../../../frontend/frontend_android.h"
|
2012-12-21 00:31:01 +00:00
|
|
|
#include "../../../input/input_common.h"
|
2012-11-01 05:21:18 +00:00
|
|
|
#include "../../../performance.h"
|
2012-10-16 17:46:31 +00:00
|
|
|
#include "../../../general.h"
|
|
|
|
#include "../../../driver.h"
|
2012-11-17 20:36:22 +00:00
|
|
|
|
2013-01-08 23:39:32 +00:00
|
|
|
#define MAX_TOUCH 16
|
2012-10-28 21:20:22 +00:00
|
|
|
|
2012-10-31 00:38:34 +00:00
|
|
|
#define PRESSED_UP(x, y) ((-0.80f > y) && (x >= -1.00f))
|
|
|
|
#define PRESSED_DOWN(x, y) ((0.80f < y) && (y <= 1.00f))
|
|
|
|
#define PRESSED_LEFT(x, y) ((-0.80f > x) && (x >= -1.00f))
|
|
|
|
#define PRESSED_RIGHT(x, y) ((0.80f < x) && (x <= 1.00f))
|
2012-10-29 13:45:25 +00:00
|
|
|
|
2013-01-02 17:03:53 +00:00
|
|
|
#define MAX_DEVICE_IDS 50
|
2012-11-02 21:26:33 +00:00
|
|
|
|
2012-10-28 21:20:22 +00:00
|
|
|
static unsigned pads_connected;
|
2013-01-02 21:24:36 +00:00
|
|
|
static int state_device_ids[MAX_DEVICE_IDS];
|
2012-10-31 15:18:58 +00:00
|
|
|
static uint64_t state[MAX_PADS];
|
2012-10-31 00:24:49 +00:00
|
|
|
|
2012-12-27 22:03:35 +00:00
|
|
|
struct input_pointer
|
|
|
|
{
|
|
|
|
int16_t x, y;
|
2013-01-11 15:32:49 +00:00
|
|
|
int16_t full_x, full_y;
|
2012-12-27 22:03:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static struct input_pointer pointer[MAX_TOUCH];
|
|
|
|
static unsigned pointer_count;
|
2012-12-21 00:31:01 +00:00
|
|
|
|
2012-11-26 23:50:29 +00:00
|
|
|
static void *android_input_init(void)
|
2012-10-31 14:16:16 +00:00
|
|
|
{
|
|
|
|
pads_connected = 0;
|
|
|
|
|
|
|
|
for(unsigned player = 0; player < 4; player++)
|
2012-12-16 05:54:49 +00:00
|
|
|
for(unsigned i = 0; i < RARCH_FIRST_META_KEY; i++)
|
2012-10-31 14:16:16 +00:00
|
|
|
{
|
|
|
|
g_settings.input.binds[player][i].id = i;
|
2012-12-16 05:54:49 +00:00
|
|
|
g_settings.input.binds[player][i].joykey = 0;
|
2012-10-31 14:16:16 +00:00
|
|
|
}
|
|
|
|
|
2012-12-16 05:54:49 +00:00
|
|
|
for(int player = 0; player < 4; player++)
|
|
|
|
{
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_B].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_B);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_Y].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_Y);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_SELECT].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_SELECT);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_START].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_START);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_UP].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_UP);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_DOWN].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_DOWN);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_LEFT].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_LEFT);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_RIGHT].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_RIGHT);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_A].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_A);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_X].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_X);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_L].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_L);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_R].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_R);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_L2].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_L2);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_R2].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_R2);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_L3].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_L3);
|
|
|
|
g_settings.input.binds[player][RETRO_DEVICE_ID_JOYPAD_R3].joykey = (1ULL << RETRO_DEVICE_ID_JOYPAD_R3);
|
|
|
|
}
|
|
|
|
|
2012-12-31 17:02:20 +00:00
|
|
|
input_autodetect_init();
|
2012-10-16 17:46:31 +00:00
|
|
|
return (void*)-1;
|
|
|
|
}
|
|
|
|
|
|
|
|
static void android_input_poll(void *data)
|
|
|
|
{
|
|
|
|
(void)data;
|
2012-10-30 05:20:49 +00:00
|
|
|
|
2012-12-16 16:13:49 +00:00
|
|
|
RARCH_PERFORMANCE_INIT(input_poll);
|
|
|
|
RARCH_PERFORMANCE_START(input_poll);
|
|
|
|
|
2013-01-05 16:35:50 +00:00
|
|
|
bool debug_enable = g_settings.input.debug_enable;
|
2013-01-05 06:38:59 +00:00
|
|
|
struct android_app* android_app = (struct android_app*)g_android;
|
2013-01-06 23:49:04 +00:00
|
|
|
uint64_t *lifecycle_state = &g_extern.lifecycle_state;
|
2012-12-12 19:52:42 +00:00
|
|
|
|
2013-01-06 23:49:04 +00:00
|
|
|
*lifecycle_state &= ~((1ULL << RARCH_RESET) | (1ULL << RARCH_REWIND) | (1ULL << RARCH_FAST_FORWARD_KEY) | (1ULL << RARCH_FAST_FORWARD_HOLD_KEY) | (1ULL << RARCH_MUTE) | (1ULL << RARCH_SAVE_STATE_KEY) | (1ULL << RARCH_LOAD_STATE_KEY) | (1ULL << RARCH_STATE_SLOT_PLUS) | (1ULL << RARCH_STATE_SLOT_MINUS));
|
2012-12-16 02:03:44 +00:00
|
|
|
|
2012-12-16 01:04:13 +00:00
|
|
|
// Read all pending events.
|
2013-01-02 21:24:36 +00:00
|
|
|
while (AInputQueue_hasEvents(android_app->inputQueue) > 0)
|
2012-10-31 18:22:34 +00:00
|
|
|
{
|
2012-12-16 01:04:13 +00:00
|
|
|
AInputEvent* event = NULL;
|
2013-01-02 17:46:51 +00:00
|
|
|
if (AInputQueue_getEvent(android_app->inputQueue, &event) < 0)
|
|
|
|
break;
|
2012-12-16 02:03:44 +00:00
|
|
|
|
2012-12-16 01:04:13 +00:00
|
|
|
int32_t handled = 1;
|
2013-01-05 16:35:50 +00:00
|
|
|
int action = 0;
|
|
|
|
char msg[128];
|
|
|
|
msg[0] = 0;
|
2012-11-01 04:48:20 +00:00
|
|
|
|
2012-12-20 22:57:46 +00:00
|
|
|
int source = AInputEvent_getSource(event);
|
2012-12-16 01:04:13 +00:00
|
|
|
int id = AInputEvent_getDeviceId(event);
|
2013-01-02 22:53:40 +00:00
|
|
|
int keycode = AKeyEvent_getKeyCode(event);
|
2012-12-23 06:30:01 +00:00
|
|
|
|
2013-01-02 20:21:06 +00:00
|
|
|
int type_event = AInputEvent_getType(event);
|
2013-01-02 21:24:36 +00:00
|
|
|
int state_id = -1;
|
|
|
|
|
|
|
|
for (unsigned i = 0; i < pads_connected; i++)
|
|
|
|
if (state_device_ids[i] == id)
|
|
|
|
state_id = i;
|
2012-11-02 21:26:33 +00:00
|
|
|
|
2013-01-02 21:24:36 +00:00
|
|
|
if (state_id < 0)
|
2012-12-30 15:33:13 +00:00
|
|
|
{
|
2013-01-02 21:24:36 +00:00
|
|
|
state_id = pads_connected;
|
|
|
|
state_device_ids[pads_connected++] = id;
|
2013-01-05 03:58:30 +00:00
|
|
|
|
2013-01-05 16:35:50 +00:00
|
|
|
input_autodetect_setup(android_app, msg, sizeof(msg), state_id, id, source);
|
2012-12-30 15:33:13 +00:00
|
|
|
}
|
2012-11-02 21:26:33 +00:00
|
|
|
|
2013-01-02 22:53:40 +00:00
|
|
|
if (keycode == AKEYCODE_BACK && (source & (AINPUT_SOURCE_KEYBOARD)))
|
|
|
|
{
|
2013-01-06 23:49:04 +00:00
|
|
|
*lifecycle_state |= (1ULL << RARCH_QUIT_KEY);
|
2013-01-02 22:53:40 +00:00
|
|
|
AInputQueue_finishEvent(android_app->inputQueue, event, handled);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
else if(type_event == AINPUT_EVENT_TYPE_MOTION && (g_settings.input.dpad_emulation[state_id] != DPAD_EMULATION_NONE))
|
2012-12-16 01:04:13 +00:00
|
|
|
{
|
2012-12-31 00:06:16 +00:00
|
|
|
float x = 0.0f;
|
|
|
|
float y = 0.0f;
|
2012-12-21 23:32:53 +00:00
|
|
|
action = AMotionEvent_getAction(event);
|
2012-12-24 11:30:05 +00:00
|
|
|
size_t motion_pointer = action >> AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT;
|
2012-12-27 22:03:35 +00:00
|
|
|
action &= AMOTION_EVENT_ACTION_MASK;
|
2012-12-24 11:30:05 +00:00
|
|
|
|
2012-12-24 14:05:59 +00:00
|
|
|
if(source & ~(AINPUT_SOURCE_TOUCHSCREEN | AINPUT_SOURCE_MOUSE))
|
2012-12-21 00:31:01 +00:00
|
|
|
{
|
2013-01-06 23:49:04 +00:00
|
|
|
uint64_t *state_cur = &state[state_id];
|
2012-12-31 00:06:16 +00:00
|
|
|
x = AMotionEvent_getX(event, motion_pointer);
|
|
|
|
y = AMotionEvent_getY(event, motion_pointer);
|
2013-01-06 23:49:04 +00:00
|
|
|
*state_cur &= ~((1ULL << RETRO_DEVICE_ID_JOYPAD_LEFT) | (1ULL << RETRO_DEVICE_ID_JOYPAD_RIGHT) |
|
2012-12-21 00:31:01 +00:00
|
|
|
(1ULL << RETRO_DEVICE_ID_JOYPAD_UP) | (1ULL << RETRO_DEVICE_ID_JOYPAD_DOWN));
|
2013-01-06 23:49:04 +00:00
|
|
|
*state_cur |= PRESSED_LEFT(x, y) ? (1ULL << RETRO_DEVICE_ID_JOYPAD_LEFT) : 0;
|
|
|
|
*state_cur |= PRESSED_RIGHT(x, y) ? (1ULL << RETRO_DEVICE_ID_JOYPAD_RIGHT) : 0;
|
|
|
|
*state_cur |= PRESSED_UP(x, y) ? (1ULL << RETRO_DEVICE_ID_JOYPAD_UP) : 0;
|
|
|
|
*state_cur |= PRESSED_DOWN(x, y) ? (1ULL << RETRO_DEVICE_ID_JOYPAD_DOWN) : 0;
|
2012-12-21 00:31:01 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2012-12-27 20:10:18 +00:00
|
|
|
bool keyup = (action == AMOTION_EVENT_ACTION_UP ||
|
|
|
|
action == AMOTION_EVENT_ACTION_CANCEL || action == AMOTION_EVENT_ACTION_POINTER_UP) ||
|
|
|
|
(source == AINPUT_SOURCE_MOUSE && action != AMOTION_EVENT_ACTION_DOWN);
|
2012-12-24 13:08:50 +00:00
|
|
|
|
2013-01-08 23:39:32 +00:00
|
|
|
if (motion_pointer < MAX_TOUCH)
|
2012-12-27 20:10:18 +00:00
|
|
|
{
|
2013-01-08 23:39:32 +00:00
|
|
|
if (!keyup)
|
|
|
|
{
|
|
|
|
x = AMotionEvent_getX(event, motion_pointer);
|
|
|
|
y = AMotionEvent_getY(event, motion_pointer);
|
|
|
|
|
|
|
|
input_translate_coord_viewport(x, y,
|
2013-01-11 15:32:49 +00:00
|
|
|
&pointer[motion_pointer].x, &pointer[motion_pointer].y,
|
|
|
|
&pointer[motion_pointer].full_x, &pointer[motion_pointer].full_y);
|
2013-01-08 23:39:32 +00:00
|
|
|
|
|
|
|
pointer_count = max(pointer_count, motion_pointer + 1);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
memmove(pointer + motion_pointer, pointer + motion_pointer + 1, (MAX_TOUCH - motion_pointer - 1) * sizeof(struct input_pointer));
|
2013-01-08 23:41:40 +00:00
|
|
|
if (pointer_count > 0)
|
|
|
|
pointer_count--;
|
2013-01-08 23:39:32 +00:00
|
|
|
}
|
2012-12-27 22:03:35 +00:00
|
|
|
}
|
|
|
|
else
|
2013-01-08 23:39:32 +00:00
|
|
|
RARCH_WARN("Got motion pointer out of range (index: %u).\n", motion_pointer);
|
2012-12-24 14:05:59 +00:00
|
|
|
}
|
2013-01-05 16:09:13 +00:00
|
|
|
|
2013-01-05 16:35:50 +00:00
|
|
|
if (debug_enable)
|
2013-01-05 16:09:13 +00:00
|
|
|
snprintf(msg, sizeof(msg), "Pad %d : x = %.2f, y = %.2f, src %d.\n", state_id, x, y, source);
|
2012-11-01 04:48:20 +00:00
|
|
|
}
|
2012-12-30 20:43:58 +00:00
|
|
|
else if (type_event == AINPUT_EVENT_TYPE_KEY)
|
2012-11-01 04:48:20 +00:00
|
|
|
{
|
2013-01-05 16:35:50 +00:00
|
|
|
if (debug_enable)
|
2013-01-05 16:09:13 +00:00
|
|
|
snprintf(msg, sizeof(msg), "Pad %d : %d, ac = %d, src = %d.\n", state_id, keycode, action, source);
|
|
|
|
|
2012-12-18 17:56:16 +00:00
|
|
|
/* Hack - we have to decrease the unpacked value by 1
|
|
|
|
* because we 'added' 1 to each entry in the LUT -
|
|
|
|
* RETRO_DEVICE_ID_JOYPAD_B is 0
|
|
|
|
*/
|
2012-12-18 19:56:33 +00:00
|
|
|
uint8_t unpacked = (keycode_lut[keycode] >> ((state_id+1) << 3)) - 1;
|
2012-12-18 17:56:16 +00:00
|
|
|
uint64_t input_state = (1ULL << unpacked);
|
2012-12-21 03:14:47 +00:00
|
|
|
int action = AKeyEvent_getAction(event);
|
2012-12-16 02:03:44 +00:00
|
|
|
uint64_t *key = NULL;
|
|
|
|
|
2012-12-16 01:04:13 +00:00
|
|
|
if(input_state < (1ULL << RARCH_FIRST_META_KEY))
|
2012-12-18 17:56:16 +00:00
|
|
|
key = &state[state_id];
|
|
|
|
else if(input_state)
|
2012-12-16 02:03:44 +00:00
|
|
|
key = &g_extern.lifecycle_state;
|
2012-11-01 04:48:20 +00:00
|
|
|
|
2012-12-16 02:03:44 +00:00
|
|
|
if(key != NULL)
|
|
|
|
{
|
2012-12-22 06:13:32 +00:00
|
|
|
if (action == AKEY_EVENT_ACTION_UP)
|
2012-12-16 02:03:44 +00:00
|
|
|
*key &= ~(input_state);
|
2012-12-22 06:13:32 +00:00
|
|
|
else if (action == AKEY_EVENT_ACTION_DOWN)
|
2012-12-21 03:14:47 +00:00
|
|
|
*key |= input_state;
|
2012-12-16 01:04:13 +00:00
|
|
|
}
|
2012-12-16 02:03:44 +00:00
|
|
|
|
2012-12-31 20:36:29 +00:00
|
|
|
if(volume_enable && (keycode == AKEYCODE_VOLUME_UP || keycode == AKEYCODE_VOLUME_DOWN))
|
2012-12-16 01:04:13 +00:00
|
|
|
handled = 0;
|
2012-11-01 04:48:20 +00:00
|
|
|
}
|
2013-01-05 16:09:13 +00:00
|
|
|
|
2013-01-05 16:35:50 +00:00
|
|
|
if (msg[0] != 0)
|
2013-01-05 16:09:13 +00:00
|
|
|
msg_queue_push(g_extern.msg_queue, msg, 0, 30);
|
|
|
|
|
2012-12-16 01:04:13 +00:00
|
|
|
AInputQueue_finishEvent(android_app->inputQueue, event, handled);
|
2012-10-31 18:22:34 +00:00
|
|
|
}
|
2012-12-16 16:13:49 +00:00
|
|
|
|
2012-12-31 00:06:16 +00:00
|
|
|
#if 0
|
2012-12-27 22:03:35 +00:00
|
|
|
{
|
|
|
|
char msg[64];
|
|
|
|
snprintf(msg, sizeof(msg), "Pointers: %u", pointer_count);
|
|
|
|
msg_queue_clear(g_extern.msg_queue);
|
|
|
|
msg_queue_push(g_extern.msg_queue, msg, 0, 30);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2012-12-16 16:13:49 +00:00
|
|
|
RARCH_PERFORMANCE_STOP(input_poll);
|
2012-10-16 17:46:31 +00:00
|
|
|
}
|
|
|
|
|
2012-10-28 21:20:22 +00:00
|
|
|
static int16_t android_input_state(void *data, const struct retro_keybind **binds, unsigned port, unsigned device, unsigned index, unsigned id)
|
2012-10-16 17:46:31 +00:00
|
|
|
{
|
2012-12-17 19:53:36 +00:00
|
|
|
switch (device)
|
2012-10-28 21:20:22 +00:00
|
|
|
{
|
2012-12-17 19:53:36 +00:00
|
|
|
case RETRO_DEVICE_JOYPAD:
|
|
|
|
return ((state[port] & binds[port][id].joykey) && (port < pads_connected));
|
2012-12-21 00:31:01 +00:00
|
|
|
case RETRO_DEVICE_POINTER:
|
|
|
|
switch(id)
|
|
|
|
{
|
|
|
|
case RETRO_DEVICE_ID_POINTER_X:
|
2012-12-27 22:03:35 +00:00
|
|
|
return pointer[index].x;
|
2012-12-21 00:31:01 +00:00
|
|
|
case RETRO_DEVICE_ID_POINTER_Y:
|
2012-12-27 22:03:35 +00:00
|
|
|
return pointer[index].y;
|
2012-12-21 00:31:01 +00:00
|
|
|
case RETRO_DEVICE_ID_POINTER_PRESSED:
|
2013-01-11 15:32:49 +00:00
|
|
|
return (index < pointer_count) && (pointer[index].x != -0x8000) && (pointer[index].y != -0x8000);
|
|
|
|
default:
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
case RARCH_DEVICE_POINTER_SCREEN:
|
|
|
|
switch(id)
|
|
|
|
{
|
|
|
|
case RETRO_DEVICE_ID_POINTER_X:
|
|
|
|
return pointer[index].full_x;
|
|
|
|
case RETRO_DEVICE_ID_POINTER_Y:
|
|
|
|
return pointer[index].full_y;
|
|
|
|
case RETRO_DEVICE_ID_POINTER_PRESSED:
|
|
|
|
return (index < pointer_count) && (pointer[index].full_x != -0x8000) && (pointer[index].full_y != -0x8000);
|
2012-12-21 00:31:01 +00:00
|
|
|
default:
|
|
|
|
return 0;
|
|
|
|
}
|
2012-12-17 19:53:36 +00:00
|
|
|
default:
|
|
|
|
return 0;
|
|
|
|
}
|
2012-10-16 17:46:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
static bool android_input_key_pressed(void *data, int key)
|
|
|
|
{
|
2012-12-23 14:29:54 +00:00
|
|
|
return ((g_extern.lifecycle_state | driver.overlay_state) & (1ULL << key));
|
2012-10-16 17:46:31 +00:00
|
|
|
}
|
|
|
|
|
2012-11-26 23:50:29 +00:00
|
|
|
static void android_input_free_input(void *data)
|
2012-10-16 17:46:31 +00:00
|
|
|
{
|
|
|
|
(void)data;
|
|
|
|
}
|
|
|
|
|
|
|
|
const input_driver_t input_android = {
|
2012-11-26 23:50:29 +00:00
|
|
|
android_input_init,
|
2012-10-16 17:46:31 +00:00
|
|
|
android_input_poll,
|
|
|
|
android_input_state,
|
|
|
|
android_input_key_pressed,
|
2012-11-26 23:50:29 +00:00
|
|
|
android_input_free_input,
|
2012-10-16 17:46:31 +00:00
|
|
|
"android_input",
|
|
|
|
};
|