mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-28 23:10:13 +00:00
Fix digital triggers
This commit is contained in:
1 parent
04200f24c7
commit
0e4820e3a8
1 file changed
-2
@@ -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