mirror of
https://github.com/libretro/RetroArch
synced 2025-01-04 02:50:05 +00:00
(Apple) Set driver.input_data_own to true for input driver for now
- until we can teardown and reinit this entire thing properly
This commit is contained in:
parent
234edda575
commit
fa021197ba
@ -485,10 +485,15 @@ static bool apple_is_pressed(unsigned port_num, const struct retro_keybind *bind
|
||||
// Exported input driver
|
||||
static void *apple_input_init(void)
|
||||
{
|
||||
if (driver.input_data)
|
||||
return driver.input_data;
|
||||
|
||||
input_init_keyboard_lut(apple_key_map_hidusage);
|
||||
memset(&g_current_input_data, 0, sizeof(g_current_input_data));
|
||||
|
||||
joypad = input_joypad_init_driver(g_settings.input.joypad_driver);
|
||||
|
||||
driver.input_data_own = true;
|
||||
return (void*)-1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user