FreeBSD as USB joystick

Gary Gatten Ggatten at
Fri May 22 15:38:18 UTC 2009

As a drummer in my past life this sounds pretty sweet, but unfortunately
I don't have the development / programming skills to help you out.  I
still have my acoustic kit, but no triggers or electronics anymore to
play with :(

-----Original Message-----
From: owner-freebsd-questions at
[mailto:owner-freebsd-questions at] On Behalf Of Sebastiaan van
Sent: Friday, May 22, 2009 10:00 AM
To: freebsd-questions at
Subject: FreeBSD as USB joystick


I'm wondering if I can turn my FreeBSD into a (very expensive ;-))

That is, I have a PS2 and want to be able to control it via my laptop. 
This would amount to connecting a USB cable between my PS2 and my 
laptop, and getting the PS2 to detect it as a joystick with the right 
identifier string, and being able to send button presses etc via my 
laptop to the PS2.

Does anybody have any starting points as to how I can achieve this?


P.S.: For those of you who must know, I want to interface my electronic 
drum module (Roland TD-9KS) with the Rockband game. The idea is to use a

cheap midi card and convert the incoming notes into joystick button 
presses.... :)

<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."

More information about the freebsd-questions mailing list