mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 11:05:46 +00:00
hid: Fix controller connection/disconnection
This commit is contained in:
parent
c39001eaa6
commit
88cb39be9f
10 changed files with 226 additions and 65 deletions
|
@ -53,7 +53,6 @@ void EmulatedConsole::ReloadInput() {
|
|||
touch_button_params.Set("x", x);
|
||||
touch_button_params.Set("y", y);
|
||||
touch_button_params.Set("touch_id", static_cast<int>(index));
|
||||
LOG_ERROR(Common, "{} ", touch_button_params.Serialize());
|
||||
touch_devices[index] =
|
||||
Input::CreateDeviceFromString<Input::InputDevice>(touch_button_params.Serialize());
|
||||
if (!touch_devices[index]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue