From 5563fb3ea6c38ae75409051bb8d3a3292b402409 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 13 Jan 2013 02:44:13 +0100 Subject: [PATCH] (Android) Decrease state_device_ids by size --- android/native/jni/input_android.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/native/jni/input_android.c b/android/native/jni/input_android.c index b155afb1c9..5b3b8b8100 100644 --- a/android/native/jni/input_android.c +++ b/android/native/jni/input_android.c @@ -30,10 +30,8 @@ #define PRESSED_LEFT(x, y) ((-0.80f > x) && (x >= -1.00f)) #define PRESSED_RIGHT(x, y) ((0.80f < x) && (x <= 1.00f)) -#define MAX_DEVICE_IDS 50 - static unsigned pads_connected; -static int state_device_ids[MAX_DEVICE_IDS]; +static int state_device_ids[MAX_PADS]; static uint64_t state[MAX_PADS]; struct input_pointer