Unbroke mouse input on Pi
Only reading key press, not key release
Parameters now working correctly