diff --git a/input/input_common.c b/input/input_common.c index cf0401003c..74ea96e6fe 100644 --- a/input/input_common.c +++ b/input/input_common.c @@ -1600,27 +1600,6 @@ void input_pop_analog_dpad(struct retro_keybind *binds) } #if !defined(IS_JOYCONFIG) && !defined(IS_RETROLAUNCH) -retro_input_t input_keys_pressed(unsigned key, - unsigned key_end, const struct retro_keybind **binds) -{ - retro_input_t ret = 0; - - if (driver.block_libretro_input) - return 0; - - for (; key < key_end; key++) - { - ret |= driver.input->input_state(driver.input_data, - binds, 0, RETRO_DEVICE_JOYPAD, 0, key) ? (1ULL << key) : 0; -#ifdef HAVE_OVERLAY - ret |= (driver.overlay_state.buttons & (UINT64_C(1) << key)) - ? (1ULL << key) : 0; -#endif - } - - return ret; -} - /* Returns a 64-bit mask of all pressed meta keys, starting * from the specified key up until the last queryable key * (key_end). diff --git a/input/input_common.h b/input/input_common.h index 052f7da376..3a8932d015 100644 --- a/input/input_common.h +++ b/input/input_common.h @@ -212,9 +212,6 @@ void input_push_analog_dpad(struct retro_keybind *binds, unsigned mode); void input_pop_analog_dpad(struct retro_keybind *binds); -retro_input_t input_keys_pressed(unsigned key, - unsigned key_end, const struct retro_keybind **binds); - retro_input_t meta_input_keys_pressed(unsigned key, unsigned key_end, retro_input_t *old_state);