Added preferences to dinput drivers (so we can have two joystick drivers). Implemented a joystick driver for the Linux 2.4 dev/input/event API.