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
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ int handle_mouse(char* details, int udevice_fd) {
|
||||||
emit(udevice_fd, EV_REL, REL_X, x);
|
emit(udevice_fd, EV_REL, REL_X, x);
|
||||||
}
|
}
|
||||||
if(y != 0) {
|
if(y != 0) {
|
||||||
emit(udevice_fd, EV_REL, REL_Y, y);
|
emit(udevice_fd, EV_REL, REL_Y, -1 * y);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(left != current_left) {
|
if(left != current_left) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue