[Plib-devel] [patch] Improved joystick support for MacOSX
Brought to you by:
sjbaker
From: Jari H. <ja...@fl...> - 2009-03-05 21:42:22
|
Hi, To get my joystick (Saitek Cyborg Evo Force) to work with flightgear on my mac I made the plib changes outlined in the attached diff file. The issue resolved is that my joystick/mac mixes usage pages kHIDPage_GenericDesktop and kHIDPage_Simulation for axises. The suggested code change treats the two usage pages similarly. In the original code the Simulation usage page is treated as "weird" according to the error output. Can someone with subversion write credentials please review my additions and apply the patch into the subversion repository if you the suggested improvements useful. Thank you, Jari |