Other Help Topics :: Joysticks



This seems kinda banal, but with an SNES and a VBA emulator available for DSL, I think it's important that the users know how to enable a joypad.

Code Sample
sudo insmod joydev


That's all that must be done.  Of course, I hear you ask: "But I gotta do it every time I boot.  How can I make it an automatic thing?"

Shove it in an init script.  I keep mine in /sbin/hotplug-knoppix (since it's a hotpluggable device, and all).  just add:
Code Sample
insmod joydev
to the end of /sbin/hotplug-knoppix and you'll have your joypads - USB or old-skool gamepad type - available even if you don't elect to enter X.

Oh, and to test if it's really working, try typing
Code Sample
cat /dev/input/js0
 if you see weird stuff scrolling on your screen whenever you move your pad, you're ready to game.

Cool !  

Thanks for sharing !

I'm digging mine out of a box right..... HEY , :|  
Oh Boys!?
Where's my ..... *&$(*  
...HEY , give me that back !  

:)

73
ke4nt

does insmod download the modules or does it just enable them?
It just enables them.  joydev.o seems to already be on the DSL distro.

original here.