mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Revert "Set joypad_info.axis_threshold only once"
This reverts commit 605d87727993f8a8b96a8b42a938d0758d52e67a.
This commit is contained in:
parent
605d877279
commit
b134c5d23c
@ -384,7 +384,6 @@ float input_sensor_get_input(unsigned port, unsigned id)
|
||||
void input_poll(void)
|
||||
{
|
||||
size_t i;
|
||||
rarch_joypad_info_t joypad_info;
|
||||
settings_t *settings = config_get_ptr();
|
||||
unsigned max_users = input_driver_max_users;
|
||||
|
||||
@ -392,8 +391,6 @@ void input_poll(void)
|
||||
|
||||
input_driver_turbo_btns.count++;
|
||||
|
||||
joypad_info.axis_threshold = input_driver_axis_threshold;
|
||||
|
||||
for (i = 0; i < max_users; i++)
|
||||
{
|
||||
input_driver_turbo_btns.frame_enable[i] = 0;
|
||||
@ -401,6 +398,8 @@ void input_poll(void)
|
||||
if (!input_driver_block_libretro_input &&
|
||||
libretro_input_binds[i][RARCH_TURBO_ENABLE].valid)
|
||||
{
|
||||
rarch_joypad_info_t joypad_info;
|
||||
joypad_info.axis_threshold = input_driver_axis_threshold;
|
||||
joypad_info.joy_idx = settings->uints.input_joypad_map[i];
|
||||
joypad_info.auto_binds = input_autoconf_binds[joypad_info.joy_idx];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user