EDIT:
I installed o joystick, tested with jstest and jscal:
Quote:jstest --event /dev/input/js0
jscal -c /dev/input/js0
and made it work in zsnes.
To make it wok in mame, I added this in the /etc/xmame/xmamerc:
Quote:### Input device options ###
joytype 1
analogstick 0
joydevname /dev/input/js
ugcicoin 0
# lircrc <NULL> (not set)
lirc 1
steadykey 0
a2d_deadzone 0.300000
# ctrlr <NULL> (not set)
digital none
usbpspad 1
rapidfire 0
I think it's better to configure the xmamerc because it saves time in launcher.
Thanks for the positive energy!
===========================================================================================
Guys, I bought a adaptor to use my 4 old xbox joysticks in xbmc and emulators. Could you plese show me how to configure them to xbmc and emulators recognize them?
These is my condition right now:
Code:
root@raphael:/usr/lib# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 007: ID 045e:0289 Microsoft Corp. Xbox Controller S
Bus 003 Device 006: ID 045e:0288 Microsoft Corp. Xbox Controller S Hub
Bus 003 Device 005: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 003 Device 004: ID 04fc:05d8 Sunplus Technology Co., Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:6377 Alcor Micro Corp. Multimedia Card Reader
Bus 001 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code:
root@raphael:/usr/lib# lsmod
Module * * * * * * * * *Size *Used by
xpad * * * * * * * * * 10711 *0
ff_memless * * * * * * *5109 *1 xpad
nls_utf8 * * * * * * * *1421 *0
isofs * * * * * * * * *33399 *0
cryptd * * * * * * * * *8116 *0
aes_x86_64 * * * * * * *7912 *3
aes_generic * * * * * *27607 *1 aes_x86_64
binfmt_misc * * * * * * 7960 *1
reiserfs * * * * * * *243856 *2
snd_hda_codec_analog * *78702 *1
arc4 * * * * * * * * * *1473 *2
snd_hda_intel * * * * *25741 *4
snd_hda_codec * * * * *85759 *2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep * * * * * * * 6924 *1 snd_hda_codec
snd_pcm_oss * * * * * *41394 *0
snd_mixer_oss * * * * *16299 *1 snd_pcm_oss
snd_pcm * * * * * * * *87946 *4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy * * * * * 1782 *0
snd_seq_oss * * * * * *31191 *0
snd_seq_midi * * * * * *5829 *0
snd_rawmidi * * * * * *23420 *1 snd_seq_midi
snd_seq_midi_event * * *7267 *2 snd_seq_oss,snd_seq_midi
snd_seq * * * * * * * *57481 *6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer * * * * * * *23649 *2 snd_pcm,snd_seq
snd_seq_device * * * * *6888 *5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
rtl8187 * * * * * * * *53204 *0
mac80211 * * * * * * *238896 *1 rtl8187
fbcon * * * * * * * * *39270 *72
led_class * * * * * * * 3764 *2 xpad,rtl8187
tileblit * * * * * * * *2487 *1 fbcon
snd * * * * * * * * * *71251 *19 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
cfg80211 * * * * * * *148725 *2 rtl8187,mac80211
font * * * * * * * * * *8053 *1 fbcon
bitblit * * * * * * * * 5811 *1 fbcon
eeprom_93cx6 * * * * * *1765 *1 rtl8187
softcursor * * * * * * *1565 *1 bitblit
soundcore * * * * * * * 8052 *1 snd
joydev * * * * * * * * 11104 *0
serio_raw * * * * * * * 4918 *0
snd_page_alloc * * * * *8500 *2 snd_hda_intel,snd_pcm
asus_atk0110 * * * * * 10033 *0
nvidia * * * * * * * 8096262 *34
vga16fb * * * * * * * *12757 *1
vgastate * * * * * * * *9857 *1 vga16fb
intel_agp * * * * * * *29319 *0
lp * * * * * * * * * * *9336 *0
parport * * * * * * * *37160 *1 lp
hid_sunplus * * * * * * 1691 *0
ohci1394 * * * * * * * 30260 *0
r8169 * * * * * * * * *39714 *0
usbhid * * * * * * * * 41116 *0
usb_storage * * * * * *49961 *0
mii * * * * * * * * * * 5237 *1 r8169
hid * * * * * * * * * *83472 *2 hid_sunplus,usbhid
ieee1394 * * * * * * * 94771 *1 ohci1394
pata_jmicron * * * * * *2747 *0
ahci * * * * * * * * * 37870 *0
sky2 * * * * * * * * * 48835 *0
dmesg:
Code:
[37606.671876] usb 3-1.3.1: new full speed USB device using uhci_hcd and address 7
[37606.798990] usb 3-1.3.1: configuration #1 chosen from 1 choice
[37606.857456] input: Microsoft X-Box pad v2 (US) as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3.1/3-1.3.1:1.0/input/input8
[37606.857652] usbcore: registered new interface driver xpad
[37606.857821] xpad: X-Box pad driver