I'm having a hard time trying to map my joystick buttons to lgpt on osx.
I followed the instructions on the wiki:
open up the terminal OK
go wherever you downloaded piggy and on the command line type:
./LittleGPTracker.app/Contents/MacOS/LittleGPTracker -DUMPEVENT=YES OK
hit the buttons you want to use and copy the values piggy spits out OK
2) make a mapping file OK
Here's the mapping.xml file I created:
<MAPPINGS>
<MAP src="joy(0)::1=-32768" dst="/event/up" />
<MAP src="joy(0)::1=32767" dst="/event/down" />
<MAP src="joy(0)::1=-32768" dst="/event/left" />
<MAP src="joy(0)::0=32767" dst="/event/right" />
<MAP src="but(0):3" dst="/event/a" />
<MAP src="but(0):0" dst="/event/b" />
<MAP src="but(0):5" dst="/event/rshoulder" />
<MAP src="but(0):7" dst="/event/rshoulder" />
<MAP src="but(0):4" dst="/event/lshoulder" />
<MAP src="but(0):6" dst="/event/lshoulder" />
<MAP src="but(0):9" dst="/event/start" />
</MAPPINGS>
But lgpt fails to recognize my joystick. Anything I'm doing wrong?
thanks!