Remove android tv DPad handling because tv remote exists
This commit is contained in:
parent
fe8a6fb6a9
commit
2cf5e29272
@ -19,9 +19,6 @@
|
||||
|
||||
#include "input/gamepad_config.hpp"
|
||||
|
||||
#ifdef ANDROID
|
||||
#include <SDL_system.h>
|
||||
#endif
|
||||
#include "io/xml_node.hpp"
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/string_utils.hpp"
|
||||
@ -486,13 +483,6 @@ void GamepadConfig::initSDLMapping()
|
||||
}
|
||||
if (!has_direction)
|
||||
return;
|
||||
#ifdef ANDROID
|
||||
// For android tv we default to dpad if it has direction pad, because it
|
||||
// cannot rebind control using touchscreen, and dpad direction seems more
|
||||
// reliable
|
||||
if (SDL_IsAndroidTV() && has_direction)
|
||||
use_axes_direction = false;
|
||||
#endif
|
||||
if (use_axes_direction)
|
||||
{
|
||||
setBindingFromTuple(PA_STEER_LEFT, actions_map.at(SDL_CONTROLLER_AXIS_LEFTX_LEFT));
|
||||
|
Loading…
x
Reference in New Issue
Block a user