Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Joysticks, How to get a joystick working< Next Oldest | Next Newest >
Fordi Offline





Group: Members
Posts: 90
Joined: April 2004
Posted: Dec. 21 2004,04:32 QUOTE

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.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Dec. 21 2004,07:25 QUOTE

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
Back to top
Profile PM 
ico2 Offline





Group: Members
Posts: 802
Joined: July 2004
Posted: Dec. 22 2004,23:17 QUOTE

does insmod download the modules or does it just enable them?

--------------
ico2
Back to top
Profile PM MSN 
Fordi Offline





Group: Members
Posts: 90
Joined: April 2004
Posted: Dec. 23 2004,22:10 QUOTE

It just enables them.  joydev.o seems to already be on the DSL distro.
Back to top
Profile PM 
3 replies since Dec. 21 2004,04:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Joysticks

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code