Invert mouse playback.
Without this we go exactly the wrong way in the Y direction. This is likely an issue with my game rather than the playback.
This commit is contained in:
parent
e65e442276
commit
0c3ae88b5a
|
@ -129,7 +129,7 @@ int handle_mouse(char* details, int udevice_fd) {
|
|||
emit(udevice_fd, EV_REL, REL_X, x);
|
||||
}
|
||||
if(y != 0) {
|
||||
emit(udevice_fd, EV_REL, REL_Y, y);
|
||||
emit(udevice_fd, EV_REL, REL_Y, -1 * y);
|
||||
}
|
||||
|
||||
if(left != current_left) {
|
||||
|
|
Loading…
Reference in New Issue