linux joystick support added.
Current API is bad! Some work on it required.