mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-08-17 17:06:10 +00:00
Correctly use dpad buttons
This commit is contained in:
parent
9515ceefcf
commit
e97b6f4494
@ -396,7 +396,7 @@ static bool input_handle_event(struct input_event *ev, struct input_device *dev)
|
||||
if (dir == 1) {
|
||||
dev->buttonFlags |= RIGHT_FLAG;
|
||||
dev->buttonFlags &= ~LEFT_FLAG;
|
||||
} else if (dir == -1) {
|
||||
} else if (dir == 0) {
|
||||
dev->buttonFlags &= ~RIGHT_FLAG;
|
||||
dev->buttonFlags &= ~LEFT_FLAG;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user