mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-18 23:01:05 +00:00
Fix digital triggers
This commit is contained in:
@@ -256,7 +256,6 @@ static bool evdev_handle_event(struct input_event *ev, struct input_device *dev)
|
||||
} else if (gamepadCode != 0) {
|
||||
gamepadModified = true;
|
||||
|
||||
if (gamepadCode != 0) {
|
||||
if (ev->value)
|
||||
dev->buttonFlags |= gamepadCode;
|
||||
else
|
||||
@@ -270,7 +269,6 @@ static bool evdev_handle_event(struct input_event *ev, struct input_device *dev)
|
||||
gamepadModified = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case EV_REL:
|
||||
switch (ev->code) {
|
||||
|
||||
Reference in New Issue
Block a user