This commit is contained in:
twinaphex 2017-04-25 18:20:10 +02:00
parent 3b3b008614
commit 4845c4b4db

View File

@ -106,8 +106,7 @@ static bool rwebinput_is_pressed(rwebinput_input_t *rwebinput,
static bool rwebinput_key_pressed(void *data, int key)
{
rwebinput_input_t *rwebinput = (rwebinput_input_t*)data;
settings_t *settings = config_get_ptr();
return rwebinput_is_pressed(rwebinput, settings->input.binds[0], key);
return rwebinput_is_pressed(rwebinput, input_config_get_binds(0), key);
}
static int16_t rwebinput_mouse_state(rwebinput_input_t *rwebinput, unsigned id)