Joysticks


Forum: Other Help Topics
Topic: Joysticks
started by: Fordi

Posted by Fordi on Dec. 21 2004,04:32
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.

Posted by ke4nt1 on Dec. 21 2004,07:25
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

Posted by ico2 on Dec. 22 2004,23:17
does insmod download the modules or does it just enable them?
Posted by Fordi on Dec. 23 2004,22:10
It just enables them.  joydev.o seems to already be on the DSL distro.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.