Suite à Blog20170720FaireFonctionnerDesGamePadsSousLinux j'ai repris le sujet dans notre fablab pour promouvoir le _retrogaming_


Gamepad sous Linux

J'ai refait tomber en marche un ordinateur (de ~2008) qui a un gamepad :
J'ai un connecteur gamepad à brancher sur broche de la carte mère (si elle existe)

Sinon déplacer carte soundblaster (PCI ?) dans PC fixe plus puissant, bah pour l'instant ça va le faire : le SSD le booste en réactivité (mais reste lent au boot)


Jeux qui fonctionnent mieux avec un gamepad


Gamepad Sidewinder
ah bah, je fais avec ce que j'ai en stock :-)
un peu de configuration pour qu'il soit reconnu avant le lancement des jeux.

et un peu de configuration dans la plupart des jeux pour optimiser les boutons utilisés.


modprobe -i sidewinder analog

lsmod|grep -iE "analog|sidewinder|joydev"

analog 16384 0
joydev 24576 0
sidewinder 20480 0
gameport 24576 4 sidewinder,analog,emu10k1_gp



supertuxkart
C'est un jeu de course de voiture, super mario kart est mieux connu
En changeant la configuration : `A` pour accélérer plutôt que la touche vers le `haut` cela permet une meilleure maîtrise de la trajectoire (et maximiser l'accélération).

Première fois que je réussis à terminer premier _o/ ! À la souris ou au touchpad, c'est injouable...

supertux
encore du super mario : pour sauter, autant utiliser le bouton sous l'index droit


mortal kombat
ou openmortal s'il se lançait :/
sur retrocal box ya Marvel vs Capcon (un peu compliqué à installer)
forcément, c'est ce qui plaît le plus ô_O /o\


kobodeluxe
super jeu

breakout
un casse-briques et tous les clones comme Lbreakout

bomberman
et tous les clones

starfighter
un bon shoot them up
The basic controls are the arrow keys, Ctrl, Space, Shift, and Escape.
Other keys on they keyboard can also be used in case of keyjamming or if
you simply prefer other controls; alternative keys include the keypad,
ZXC, ASD, <>?, and 123. A gamepad or joystick can also be used.


wipeout
à recompiler : voir s'il gère le gamepad
tout un article sur revue retrogaming

Points à revoir

gl-117 qui fait un coredump o_O ? dommage c'est un bon simulateur de vol

mieux lister les manettes prises en charge : on a un volant ! (et il fonctionne)

les outils jstest font le taf', mais uniquement une fois que le périphérique est reconnu...


brancher 2 manettes Sidewinder en série : voir si on peut jouer à deux

remonter les infos dans l'inventaire de la recal box de l'izylab :

choisir entre jeu natif et jeu émulé

Candidats


il y en a avec GNU octave (un logiciel de mathématiques)
http://psychtoolbox.org/docs/Gamepad
https://gnu-octave.github.io/packages/joystick/



http://madb.mageia.org/package/list/application/0/release/cauldron/t_search/game

(la liste est trop longue)


http://madb.mageia.org/package/list/application/0/release/cauldron/t_search/joy

	enjoy : Music player written using Enlightenment Foundation Libraries
	joy2key : Translate joystick events into keyboard events
	linuxconsoletools : Tools for connecting joysticks & legacy devices to the kernel's input subsystem
	nodejs-http-signature : Reference implementation of Joyent's HTTP Signature scheme


bash
$ lsmod | grep -i emu # moui c'est une soublblaster qui fournit le gameport

snd_emu10k1           217088  3
snd_util_mem           12288  1 snd_emu10k1
snd_ac97_codec        196608  1 snd_emu10k1
snd_rawmidi            53248  1 snd_emu10k1
snd_seq_device         16384  2 snd_emu10k1,snd_rawmidi
snd_hwdep              20480  2 snd_hda_codec,snd_emu10k1
snd_pcm               212992  6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_emu10k1,snd_ac97_codec,snd_hda_core
emu10k1_gp             12288  0
snd_timer              53248  2 snd_emu10k1,snd_pcm
gameport               24576  2 emu10k1_gp
snd                   143360  28 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_emu10k1,snd_timer,snd_ac97_codec,snd_pcm,snd_rawmidi


Module                  Size  Used by
tls                   143360  0
ip6t_REJECT            12288  4
nf_reject_ipv6         20480  1 ip6t_REJECT
xt_comment             12288  20
ip6table_mangle        12288  1
ip6table_nat           12288  0
ip6table_raw           12288  1
ip6table_filter        12288  1
ip6_tables             28672  4 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle
xt_recent              24576  2
ipt_IFWLOG             12288  1
ipt_psd                57344  1
xt_set                 20480  2
ip_set_hash_ip         49152  2
ip_set                 61440  2 ip_set_hash_ip,xt_set
ipt_REJECT             12288  4
nf_reject_ipv4         12288  1 ipt_REJECT
xt_conntrack           12288  6
xt_hashlimit           24576  10
xt_addrtype            12288  13
xt_mark                12288  2
iptable_mangle         12288  1
iptable_nat            12288  0
xt_CT                  12288  36
xt_tcpudp              16384  70
iptable_raw            12288  1
xt_NFLOG               12288  0
nfnetlink_log          20480  0
xt_LOG                 16384  10
nf_log_syslog          20480  10
nf_nat_tftp            12288  0
nf_nat_snmp_basic      16384  0
nf_conntrack_snmp      12288  3 nf_nat_snmp_basic
nf_nat_sip             16384  0
nf_nat_pptp            16384  0
nf_nat_irc             16384  0
nf_nat_h323            24576  0
nf_nat_ftp             16384  0
nf_nat_amanda          12288  0
ts_kmp                 12288  6
nf_conntrack_amanda    12288  5 nf_nat_amanda
nf_nat                 57344  9 nf_nat_irc,ip6table_nat,nf_nat_ftp,nf_nat_tftp,nf_nat_amanda,nf_nat_pptp,nf_nat_h323,iptable_nat,nf_nat_sip
nf_conntrack_sane      20480  4
nf_conntrack_tftp      20480  5 nf_nat_tftp
nf_conntrack_sip       45056  5 nf_nat_sip
nf_conntrack_pptp      24576  3 nf_nat_pptp
nf_conntrack_netlink    61440  0
nfnetlink              20480  3 nf_conntrack_netlink,ip_set,nfnetlink_log
nf_conntrack_netbios_ns    12288  2
nf_conntrack_broadcast    12288  2 nf_conntrack_netbios_ns,nf_conntrack_snmp
nf_conntrack_irc       20480  3 nf_nat_irc
nf_conntrack_h323      81920  9 nf_nat_h323
nf_conntrack_ftp       20480  5 nf_nat_ftp
nf_conntrack          184320  23 xt_conntrack,nf_nat_irc,nf_nat,nf_conntrack_tftp,nf_nat_ftp,nf_conntrack_pptp,nf_conntrack_netbios_ns,nf_conntrack_sane,nf_nat_tftp,nf_nat_amanda,nf_conntrack_sip,nf_conntrack_h323,nf_nat_pptp,nf_conntrack_broadcast,nf_conntrack_irc,nf_conntrack_amanda,nf_conntrack_netlink,nf_conntrack_ftp,xt_CT,nf_nat_h323,nf_conntrack_snmp,nf_nat_snmp_basic,nf_nat_sip
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         12288  1 nf_conntrack
iptable_filter         12288  1
af_packet              65536  2
cfg80211             1265664  0
rfkill                 40960  4 cfg80211
qrtr                   53248  4
dm_mirror              28672  0
dm_region_hash         20480  1 dm_mirror
dm_log                 24576  2 dm_region_hash,dm_mirror
snd_hda_codec_realtek   192512  1
snd_hda_codec_generic   110592  1 snd_hda_codec_realtek
ledtrig_audio          12288  1 snd_hda_codec_generic
snd_hda_codec_hdmi     94208  1
snd_hda_intel          61440  5
snd_intel_dspcfg       32768  1 snd_hda_intel
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
snd_emu10k1           217088  3
kvm_amd               180224  0
snd_hda_codec         200704  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_util_mem           12288  1 snd_emu10k1
snd_ac97_codec        196608  1 snd_emu10k1
ccp                   131072  1 kvm_amd
uas                    32768  0
snd_hda_core          126976  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
r8169                 114688  0
snd_rawmidi            53248  1 snd_emu10k1
realtek                40960  1
kvm                  1265664  1 kvm_amd
snd_seq_device         16384  2 snd_emu10k1,snd_rawmidi
usb_storage            86016  1 uas
mdio_devres            12288  1 r8169
ac97_bus               12288  1 snd_ac97_codec
snd_hwdep              20480  2 snd_hda_codec,snd_emu10k1
snd_pcm               212992  6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_emu10k1,snd_ac97_codec,snd_hda_core
emu10k1_gp             12288  0
irqbypass              12288  1 kvm
snd_timer              53248  2 snd_emu10k1,snd_pcm
sha1_generic           12288  1 ccp
wmi_bmof               12288  0
gameport               24576  2 emu10k1_gp
k10temp                12288  0
libphy                200704  3 r8169,mdio_devres,realtek
snd                   143360  28 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_emu10k1,snd_timer,snd_ac97_codec,snd_pcm,snd_rawmidi
i2c_piix4              32768  0
soundcore              16384  1 snd
input_leds             12288  0
evdev                  28672  19
sch_fq_codel           20480  2
fuse                  200704  5
loop                   32768  0
dm_mod                188416  2 dm_log,dm_mirror
configfs               57344  1
dmi_sysfs              20480  0
ip_tables              28672  4 iptable_filter,iptable_raw,iptable_nat,iptable_mangle
x_tables               49152  25 ipt_psd,ip6table_filter,xt_conntrack,ip6table_raw,iptable_filter,ip6table_nat,xt_LOG,xt_NFLOG,xt_tcpudp,xt_hashlimit,xt_addrtype,xt_recent,xt_comment,xt_set,ip6_tables,ipt_REJECT,ipt_IFWLOG,xt_CT,iptable_raw,ip_tables,iptable_nat,ip6table_mangle,ip6t_REJECT,iptable_mangle,xt_mark
ipv6                  716800  140 nf_reject_ipv6,ip6table_mangle
crc_ccitt              12288  1 ipv6
atkbd                  36864  0
ata_generic            12288  0
vivaldi_fmap           12288  1 atkbd
pata_acpi              12288  0
serio_raw              16384  0
ohci_pci               20480  0
pata_atiixp            12288  0
ehci_pci               16384  0
ehci_hcd              106496  1 ehci_pci
ohci_hcd               65536  1 ohci_pci
firewire_ohci          49152  0
sp5100_tco             16384  0
firewire_core         102400  1 firewire_ohci
crc_itu_t              12288  1 firewire_core
amdgpu              10915840  0
iommu_v2               24576  1 amdgpu
drm_buddy              20480  1 amdgpu
gpu_sched              53248  1 amdgpu
radeon               1867776  19
drm_ttm_helper         12288  2 amdgpu,radeon
ttm                    94208  3 amdgpu,radeon,drm_ttm_helper
video                  65536  2 amdgpu,radeon
i2c_algo_bit           12288  2 amdgpu,radeon
drm_suballoc_helper    12288  2 amdgpu,radeon
drm_display_helper    192512  2 amdgpu,radeon
drm_kms_helper        237568  3 drm_display_helper,amdgpu,radeon
drm                   753664  17 gpu_sched,drm_kms_helper,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,radeon,drm_ttm_helper,ttm
wmi                    36864  2 video,wmi_bmof
cec                    77824  1 drm_display_helper


# lspcidrake -vv
ohci_pci        : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0 USB OHCI1 Controller [SERIAL_USB] (vendor:1002 device:4398 subv:1462 subd:7550)
unknown         : Advanced Micro Devices, Inc. [AMD]|RS780/RS880 PCI to PCI bridge (PCIE port 1) [BRIDGE_PCI] (vendor:1022 device:9605)
i2c_piix4       : Advanced Micro Devices, Inc. [AMD/ATI]|SBx00 SMBus Controller [SERIAL_SMBUS] (vendor:1002 device:4385 subv:1462 subd:7550) (rev: 3a)
unknown         : Advanced Micro Devices, Inc. [AMD]|RS780 PCI to PCI bridge (ext gfx port 0) [BRIDGE_PCI] (vendor:1022 device:9603)
unknown         : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [STORAGE_SATA] (vendor:1002 device:4390 subv:1462 subd:7550)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|SBx00 Azalia (Intel HDA) [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:4383 subv:1462 subd:7550)
snd_hda_intel   : Advanced Micro Devices, Inc. [AMD/ATI]|RV770 HDMI Audio [Radeon HD 4850/4870] [MULTIMEDIA_AUDIO_DEV] (vendor:1002 device:aa30 subv:174b subd:aa30)
unknown         : Advanced Micro Devices, Inc. [AMD]|RS780/RS880 PCI to PCI bridge (PCIE port 4) [BRIDGE_PCI] (vendor:1022 device:9608)
unknown         : Advanced Micro Devices, Inc. [AMD/ATI]|SBx00 PCI to PCI Bridge [BRIDGE_PCI] (vendor:1002 device:4384)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor HyperTransport Configuration [BRIDGE_HOST] (vendor:1022 device:1200)
ohci_pci        : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0 USB OHCI1 Controller [SERIAL_USB] (vendor:1002 device:4398 subv:1462 subd:7550)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor DRAM Controller [BRIDGE_HOST] (vendor:1022 device:1202)
snd_emu10k1     : Creative Labs|EMU10k2/CA0100/CA0102/CA10200 [Sound Blaster Audigy Series] [MULTIMEDIA_AUDIO] (vendor:1102 device:0004 subv:1102 subd:0052) (rev: 03)
ohci_pci        : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [SERIAL_USB] (vendor:1002 device:4397 subv:1462 subd:7550)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor Link Control [BRIDGE_HOST] (vendor:1022 device:1204)
unknown         : Advanced Micro Devices, Inc. [AMD]|RS780 Host Bridge [BRIDGE_HOST] (vendor:1022 device:9600)
ehci_pci        : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 USB EHCI Controller [SERIAL_USB] (vendor:1002 device:4396 subv:1462 subd:7550)
pata_atiixp     : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 IDE Controller [STORAGE_IDE] (vendor:1002 device:439c subv:1462 subd:7550)
Card:ATI Radeon HD 4870 and earlier: Advanced Micro Devices, Inc. [AMD/ATI]|RV770 [Radeon HD 4850] [DISPLAY_VGA] (vendor:1002 device:9442 subv:174b subd:e810)
unknown         : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 LPC host controller [BRIDGE_ISA] (vendor:1002 device:439d subv:1462 subd:7550)
ohci_pci        : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [SERIAL_USB] (vendor:1002 device:4397 subv:1462 subd:7550)
ohci_pci        : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [SERIAL_USB] (vendor:1002 device:4399 subv:1462 subd:7550)
firewire_ohci   : JMicron Technology Corp.|IEEE 1394 Host Controller [SERIAL_FIREWIRE] (vendor:197b device:2380 subv:1462 subd:550d)
unknown         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor Address Map [BRIDGE_HOST] (vendor:1022 device:1201)
ehci_pci        : Advanced Micro Devices, Inc. [AMD/ATI]|SB7x0/SB8x0/SB9x0 USB EHCI Controller [SERIAL_USB] (vendor:1002 device:4396 subv:1462 subd:7550)
k10temp         : Advanced Micro Devices, Inc. [AMD]|Family 10h Processor Miscellaneous Control [BRIDGE_HOST] (vendor:1022 device:1203)
r8169           : Realtek Semiconductor Co., Ltd.|RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [NETWORK_ETHERNET] (vendor:10ec device:8168 subv:1462 subd:7550) (rev: 02)
emu10k1_gp      : Creative Labs|SB Audigy Game Port [INPUT_OTHER] (vendor:1102 device:7003 subv:1102 subd:0040) (rev: 03)
hub             : Linux 6.4.16-desktop-3.mga9 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
hub             : Linux 6.4.16-desktop-3.mga9 ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0002)
usb_storage     : Generic|USB2.0-CRW [Mass Storage|SCSI|Bulk-Only] (vendor:0bda device:0151)
hub             : Linux 6.4.16-desktop-3.mga9 ohci_hcd|OHCI PCI host controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 6.4.16-desktop-3.mga9 ohci_hcd|OHCI PCI host controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
usbhid          : Logitech|Optical USB Mouse [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:046d device:c016)
hub             : Linux 6.4.16-desktop-3.mga9 ohci_hcd|OHCI PCI host controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 6.4.16-desktop-3.mga9 ohci_hcd|OHCI PCI host controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)
hub             : Linux 6.4.16-desktop-3.mga9 ohci_hcd|OHCI PCI host controller [Hub|Unused|Full speed (or root) hub] (vendor:1d6b device:0001)





There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki