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.
Sega Model 2 update:
* Dumped and hooked up Dynamite Baseball
* Dynamite Baseball 97 renamed as dynabb97
* Properly renamed 4 MASK ROMs in dynabb97
to match pcb manual
* Minor cleanups and fixes
Credits:
New NOT WORKING clones added
---------------------------------------------------------------
Dynamite Baseball [Layne, Yohji, hap, Smitdogg, The Dumping Union]
----------------
Oozumou - The Grand Sumo (DECO Cassette) [Charles MacDonald, Dr. Spankenstein, Kevin Eshbach, T. Huff, SteveS, E. Page-Hanify, Hikari, ArcadeDude, F. Bukor, N. Francfort, jmurjr, arcade-history.com, ThumB, Hurray Banana, Paratech, Xiaou2, Cornishdavey, A. Costin, M. Ponweiser, Tormod, Rambo, Smitdogg, The Dumping Union]
new clones
---------------
JoJo's Bizarre Adventure (990927) [Layne, Smitdogg, The Dumping Union]
- The SDL team has moved from 1.3 to 2.0. At the same time, changes were made to allow SDL1.2 and SDL2.0 to coexist. All SDL2.0 include files are now in /usr/include/SDL2.
- Added sdlinc.h to avoid having tons of #ifdef .. #include in the code.
- Scalemode is no longer a per-window setting
- Fixed a bug in YUV rendering.
- Use SDL_GetClipboard (SDL2.0)
- Updated README_SDL20.txt
Currently, SDL 2.0 is only supported on *nix. Volunteers welcome.
(nw) If anyone has any suggestions on how better to sync per-scanline state than what I'm currently doing, I'd be all ears. The renderer is now pretty darn fast, but every little bit counts.