When I run the program, I get a lot of "Warning: writing input events failed" when I touch any button or stick on my controller but no events are received by my games.
I figured out the write code to uinput is not correct. This patch makes sure all data is written even if all data couldn't be written in a single write command.
When I run the program, I get a lot of "Warning: writing input events failed" when I touch any button or stick on my controller but no events are received by my games.
I figured out the write code to uinput is not correct. This patch makes sure all data is written even if all data couldn't be written in a single write command.
This should fix #23.