linux port:
Some work for joystick support done.