| Previous | 199869 Revisions | Next |
| r15397 Wednesday 15th February, 2012 at 21:40:35 UTC by Couriersud |
|---|
| Added support for (track)balls to osd/sdl. [Couriersud] To test it, I used my Logitech Trackball (normally a mouse) and configured it as a joystick. Prerequisites: - Locate your linux input device for the trackball. In my case that's /dev/input/event3 - "sudo chmod a+r /dev/input/event3" - "export SDL_JOYSTICK_DEVICE=/dev/input/event3" This forces sdl to recognize the trackball as a input device. -mame64 missile -nomouse -w Configure the trackball axis. Make sure the mouse pointer is outside the window and window still has keyboard focus - most modern window manager should support this. Quit and restart with -mame64 missile -mouse -now to hide the mouse. Voila. Works. |
| [src/osd/sdl] | input.c |
| Previous | 199869 Revisions | Next |