BJoystick and usb_joy patch
|Reported by:||caz_haiku||Owned by:||mmlr|
Patch for BJoystick, i have tested it with different applications and can use a joystick normally in these apps. This BJoystick patch does not yet parse joystick configuration files etc, not sure this is even needed anymore because most people will use usb. But this could be completed as most of the work has been done already by various people in JoystickTweaker if backward compatibility is critical.
Also a patch for the usb_joy driver, it works with this BJoystick. There was a problem with the usb_joy driver causing a crash, this has been fixed. The bug was to do with realloc in driver.c. Now whether you want to enable the usb_joy driver for haiku is another matter. But at least for now people can use some of the supported gamepads etc that usb_joy supports.