mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
parent
cc22d25490
commit
09c8162235
1 changed files with 2 additions and 2 deletions
|
@ -250,9 +250,9 @@ void evdev_joystick_handler::GetNextButtonPress(const std::string& padId, const
|
||||||
|
|
||||||
// Get our evdev device
|
// Get our evdev device
|
||||||
EvdevDevice* device = get_device(padId);
|
EvdevDevice* device = get_device(padId);
|
||||||
libevdev* dev = device->device;
|
if (device == nullptr || device->device == nullptr)
|
||||||
if (dev == nullptr)
|
|
||||||
return;
|
return;
|
||||||
|
libevdev* dev = device->device;
|
||||||
|
|
||||||
// Try to query the latest event from the joystick.
|
// Try to query the latest event from the joystick.
|
||||||
input_event evt;
|
input_event evt;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue