Use consistent integer types for mocks.
Update input tests.
Implement tests for joystick axis, hat, and button events.