Not sure what I was doing wrong the first time I tried it but managed to make a fair bit of progress there.
I've now got a dualshock 3 connected to the bot, and visible as far as the os is concerned, The sample code provided on that page builds and runs without problems and outputs events when i move the mouse around.
It seems i've got two joystick devices, the first one being vnc-abspointer and the second being the dualshock.
From the documentation it looks like the joystickDriver's second parameter is the name of the config file to use. Anyone know how that tells it which joystick device to use?
thanks,
CR