From 05af6e2720d03b538e64a73a84af1f4c4f8ce762 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 14 Apr 2019 23:37:11 -0700 Subject: Get Android build working again and update for SDL 2.0.7 (last version to support older versions of Android) --- bindings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bindings.c') diff --git a/bindings.c b/bindings.c index 6c8919a..d2c797c 100644 --- a/bindings.c +++ b/bindings.c @@ -816,7 +816,7 @@ void process_pad_button(char *key, tern_val val, uint8_t valtype, void *data) if (hostbutton == RENDER_INVALID_NAME) { warning("%s is not a valid gamepad input name\n", key); } else if (hostbutton == RENDER_NOT_MAPPED && hostpadnum != map_warning_pad) { - warning("No SDL 2 mapping exists for input %s on gamepad %d\n", key, hostpadnum); + debug_message("No SDL 2 mapping exists for input %s on gamepad %d\n", key, hostpadnum); map_warning_pad = hostpadnum; } return; @@ -863,7 +863,7 @@ void process_pad_axis(char *key, tern_val val, uint8_t valtype, void *data) if (axis == RENDER_INVALID_NAME) { warning("%s is not a valid gamepad input name\n", key); } else if (axis == RENDER_NOT_MAPPED && hostpadnum != map_warning_pad) { - warning("No SDL 2 mapping exists for input %s on gamepad %d\n", key, hostpadnum); + debug_message("No SDL 2 mapping exists for input %s on gamepad %d\n", key, hostpadnum); map_warning_pad = hostpadnum; } goto done; -- cgit v1.2.3