Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Open-source "virtual joystick" (like PPJoy)--does it exist?  (Read 6434 times)

0 Members and 1 Guest are viewing this topic.

vputz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 115
  • Last login:August 23, 2010, 08:16:05 am
  • I'm a llobter!
Open-source "virtual joystick" (like PPJoy)--does it exist?
« on: January 24, 2007, 01:22:11 pm »
I'm trying to reinvigorate an old serial PC controller, the SpaceOrb 360 (so this is only distantly related to arcade controls right now, but I need control experts--I don't know of any arcade games that would benefit from a six-axis controller squatting on my CP!).

My previous attempt worked--I wrote a full HID driver for the SpaceOrb (http://hidsporb.sourceforge.net), but it only worked with versions of the firmware that XP's "serial device detection" would detect.

In any case, it would be simpler to divide the driver into two parts: a virtual joystick device driver and then a user-space program to read the serial port and send messages (via IOCTL or HID messages) to the driver that set the axes, buttons, etc.

The problem is... I'm lazy.  It's been a long time since writing hidsporb, and frankly I just don't like writing device drivers; while working with hidsporb, I managed to make my computer unbootable at least once, and occasionally needed to do quite a bit to recover from hard drive issues (yes, errant pointers can be very nasty in a device driver!).  So frankly I'd like to find a virtual joystick device driver.

PPJoy would work, and I see a lot of projects using PPJoy.  But the author has evidently made the decision that it will not be open-source, and that makes me very sad ("free as in beer" is not as good as "free as in speech", and source code for such a device driver would be very educational).

I'd like to avoid writing the thing.  Does anyone know of an open-source alternative to PPJoy that would create a virtual joystick that you can control from user space?

Thanks-->VPutz