[ RB7 + XU4 + IPAC2 ] Configuration
-
@ian57, merci beaucoup pour ton retour. J'essaye ça ce soir en rentrant
-
@Garden-Dwarf si ça marche pas reviens ici on fera d'autres tests
-
@ian57, manipulation faite.
# mount -o rw,remount / # mv /usr/bin/xarcade2jstick /usr/bin/xarcade2jstick-previous # cp /recalbox/share/system/xarcade2jstick /usr/bin/xarcade2jstick # chmod 755 /usr/bin/xarcade2jstick # reboot
Aucun changement
Au démarrage j'ai 1 manette détectée (mais attention, j'ai des lightguns branchés également) et pour configurer je reste appuyé sur un bouton (j'en ai essayé plusieurs) et ça n'a aucun effet.
-
@Garden-Dwarf il me faudrait une archive de support :
ARCHIVE DE SUPPORT
connecter votre recalbox sur le réseau
via votre navigateur web saisir l'adresse suivante sous windows : http://recalbox/help
via votre navigateur web saisir l'adresse suivante sous mac : http://recalbox.local/help
Suivre les instructions et poster le lien obtenu. -
@ian57 je n'ai pas de lien... à la place j'ai un message d'erreur :
JSON.pa**e: unexpected end of data at line 1 column 1 of the JSON data
Et si je l'exécute à la main (ssh root) j'ai ceci :
# /overlay/lower/recalbox/scripts/recalbox-support.sh lspci: /sys/bus/pci/devices: No such file or directory /overlay/lower/recalbox/scripts/recalbox-support.sh: line 54: aplay: command not found /overlay/lower/recalbox/scripts/recalbox-support.sh: line 55: glxinfo: command not found /overlay/lower/recalbox/scripts/recalbox-support.sh: line 56: xrandr: command not found /overlay/lower/recalbox/scripts/recalbox-support.sh: line 57: xrandr: command not found /overlay/lower/recalbox/scripts/recalbox-support.sh: line 58: connmanctl: command not found /overlay/lower/recalbox/scripts/recalbox-support.sh: line 59: connmanctl: command not found BusyBox v1.31.1 (2020-10-08 21:18:01 CEST) multi-call binary. Usage: rm [-irf] FILE... Remove (unlink) FILEs -i Always prompt before removing -f Never prompt -R,-r Recurse error: failed to read gamecontrollerdb.txt: Invalid RWops /recalbox/share/saves/recalbox-support-20201013204425.tar.gz #
-
-
@Garden-Dwarf Ton ipac2 ultimarc est reconnu comme un joystick
/dev/input/by-id/usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd
Found 1 joystick(s) Joystick Name: 'Ultimarc Ultimarc' Joystick Path: '/dev/input/event3' Joystick GUID: 0300000009d200000216000011010000 Joystick Number: 0 Number of Axes: 2 Number of Buttons: 8 Number of Hats: 0 Number of B***s: 0 GameControllerConfig: missing (see 'gamecontrollerdb.txt' or SDL_GAMECONTROLLERCONFIG) Axis code 0: 0 Axis code 1: 1 Button code 0: 288 Button code 1: 289 Button code 2: 290 Button code 3: 291 Button code 4: 292 Button code 5: 293 Button code 6: 294 Button code 7: 295
d'après la page
https://recalbox.gitbook.io/tutorials/usb-encoders/recalbox-for-your-usb-keyboard-encoderil faut créer un fichier
/recalbox/share_init/system/configs/xarcade2jstick/usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd
dans sont répertoire tu as déjà
usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_9-if01-event-kbd
etusb-Ultimarc_I-PAC_Ultimarc_I-PAC-event-kbd
effaces les et crée le fichiertouch /recalbox/share_init/system/configs/xarcade2jstick/usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd
si ça marche pas essaie avec les autres dans la liste suivantes
/dev/input/by-id/usb-Ultimarc_Ultimarc_7-if01-joystick /dev/input/by-id/usb-Ultimarc_Ultimarc_7-if01-event-joystick
lis bien il est possible que tu doives faire plusieurs tests
NOTE : Un seul encodeur peut avoir plusieurs noms possibles, alors essayez-les tous par exemple : usb-Cypress_I-PAC_Arcade_Control_Interface-event-kbd -> fonctionne usb-Cypress_I-PAC_Arcade_Control_Interface-if01-event-kbd -> ne fonctionne pas
-
@ian57, merci pour ton retour.
Comme j'ai indiqué plus haut, attention car j'ai deux lightguns. Est-ce que les références Ultimarc ne seraient pas celles des guns?
Je vais regarder ce soir de toute façon, mais je ne suis pas sûr que mon IPAC-2 soit configuré comme joystick car j'ai lu quelque part qu'en configurant celui-ci comme joystick on ne pouvait pas avoir 2 joueurs (1 seulement). Or mon IPAC-2, si je le branche sur mon RPI3b (Recalbox 4.1 je crois) me permet bien de jouer à 2.
-
Dans le répertoire xarcade2jstick j'ai ceci
# ls /recalbox/share_init/system/configs/xarcade2jstick/ usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd usb-Ultimarc_I-PAC_Ultimarc_I-PAC-event-kbd usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_9-if01-event-kbd #
Je les efface tous les 3
# mount -o rw,remount / # rm /recalbox/share_init/system/configs/xarcade2jstick/usb* # ls /recalbox/share_init/system/configs/xarcade2jstick/ #
Je crée le fichier usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd
# touch /recalbox/share_init/system/configs/xarcade2jstick/usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd
... et je reboot (ce n'était pas indiqué, donc dans le doute je le fais ^^)
# reboot
Comme avant, certaines touches fonctionnes (menu ES, stick haut/bas, sélection) mais pas moyen de reconfigurer.
Donc j'essaye le suivant de la liste (usb-Ultimarc_Ultimarc_7-if01-joystick)# mount -o rw,remount / # rm /recalbox/share_init/system/configs/xarcade2jstick/usb* # touch /recalbox/share_init/system/configs/xarcade2jstick/usb-Ultimarc_Ultimarc_7-if01-joystick # reboot
Et ... pareil. En route pour la troisième option (usb-Ultimarc_Ultimarc_7-if01-event-joystick)
# mount -o rw,remount / # rm /recalbox/share_init/system/configs/xarcade2jstick/usb* # touch /recalbox/share_init/system/configs/xarcade2jstick/usb-Ultimarc_Ultimarc_7-if01-event-joystick # reboot
Je n'ai observé aucun changement. Toujours 1 manette détectée, quelques touches qui fonctionnent, mais impossible de les remapper.
-
Hello,
d'après ce que je comprends ton xarcade est bien configuré par le système car le fichier usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd semble présent.
Peux tu tester la chose suivante :
# mount -o rw,remount / # rm /recalbox/share_init/system/configs/xarcade2jstick/usb* # reboot
et me dire ce qu'il y a dans le répertoire recalbox/share_init/system/configs/xarcade2jstick/ sans rien faire stp?
après il faudrait utiliser sdl2-jstest pour tester les differents "device" opur voir comment ils repondent. Cela se fait en ssh :
sdl2-jstest --list
pour lister les périphériques utilisables
ensuitesdl2-jstest --test 0
pour tester le premier périphérique
-
@ian57, j'essaye ça ce soir.
En attendant, j'ai une petite question.
Dans es_input.cfg chaque event (joystick, touche...) est indiqué avec un code. Est-ce que tu peux me dire d'où vient ce code et si il y a un outil en ligne de commande qui permet d'indiquer le code quand un évènement est détecté ?
J'ai déjà essayé quelques commandes (entre autres sdl2-jstest) mais le code indiqué ne correspond pas à celui indiqué dans es_input.cfg. -
@Garden-Dwarf il s'agit des codes des touches clavier cf : https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h
de notre coté on a patché ces codes pour améliorer avec mame cf : https://gitlab.com/recalbox/recalbox/-/blob/master/package/xarcade2jstick/0001-b*mp-xarcade-and-integrate-keybd-mame-patchs.patch
normalement, le fait de configurer ton xarcade va générer une section dans le es_input avec les codes renvoyé par le xarcade
c'est pour cela que je voudrais voir si toute les touches du xarcade son détectée par sdl2-jstest
-
Manipulation faite (rm puis reboot). Après redémarrage, le répertoire est vide.
Ensuite sdl2-jstest me donne ceci :
# sdl2-jstest --list error: failed to read gamecontrollerdb.txt: Invalid RWops Found 1 joystick(s) Joystick Name: 'Ultimarc Ultimarc' Joystick Path: '/dev/input/event3' Joystick GUID: 0300000009d200000216000011010000 Joystick Number: 0 Number of Axes: 2 Number of Buttons: 8 Number of Hats: 0 Number of B***s: 0 GameControllerConfig: missing (see 'gamecontrollerdb.txt' or SDL_GAMECONTROLLERCONFIG) Axis code 0: 0 Axis code 1: 1 Button code 0: 288 Button code 1: 289 Button code 2: 290 Button code 3: 291 Button code 4: 292 Button code 5: 293 Button code 6: 294 Button code 7: 295
Où est-ce que je vois les devices que je peux tester ?
-
@ian57 Bon, je viens d'essayer avec le device 0.
Je lance :
Joystick Name: 'Ultimarc Ultimarc' Joystick Number: 0 Axes 2: 0: -32768 [# ] 1: -32768 [# ] Buttons 8: 0: 0 [ ] 1: 0 [ ] 2: 0 [ ] 3: 0 [ ] 4: 0 [ ] 5: 0 [ ] 6: 0 [ ] 7: 0 [ ] Hats 0: B***s 0: Press Ctrl-c to exit
Et ensuite j'appuye sur quelques boutons du joueur 1 :
Error: Unhandled event type: 768 Error: Unhandled event type: 769 Error: Unhandled event type: 768 Error: Unhandled event type: 769 Error: Unhandled event type: 768 Error: Unhandled event type: 771 Error: Unhandled event type: 769 Error: Unhandled event type: 768 Error: Unhandled event type: 769 Error: Unhandled event type: 768 Error: Unhandled event type: 771 Error: Unhandled event type: 769 Error: Unhandled event type: 768 Error: Unhandled event type: 771 Error: Unhandled event type: 769 Error: Unhandled event type: 768 Error: Unhandled event type: 771 Error: Unhandled event type: 769
-
@Garden-Dwarf bon du coup il fait bien créer le fichier /recalbox/share_init/system/configs/xarcade2jstick/usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd à la main
normalement ensuite sdl2-jstest devrait trouver 2 périphériques. Il faut ensuite tester celui correspondant au clavier I-PAC_2-event-kbd
peux tu faire les tests?
dans ton second post on voit bien que la version Joystick détectée ne prends pas en compte les touches
-
J'ai fait le test hier soir (touch sur le fichier), c'est pareil. Je peux re-vérifier en rentrant ce soir, mais j'en suis presque sûr.
De toute façon j'ai bien des boutons qui fonctionnent puisque j'arrive à en utiliser dans ES (encore une fois mon problème est que les boutons ne sont pas mappés correctement ou à la bonne place).Par contre j'ai lancé evtest et sélectionné mon IPAC2 et quand j'appuye sur des touches ça me donne bien un retour (event + code appui quand j'enfonce un bouton, event + code quand je le relâche).
-
@Garden-Dwarf hmmm ça va être compliqué de déb****r ça sans le matos... j'ai l'impression qu'in a un soucis avec sdl2-jstest.
Peux tu me fournir la sortie d'evtest pour usb-Ultimarc_I-PAC_2_Ultimarc_I-PAC_2-event-kbd et pour la version joystick stp ?
-
Bon, j'ai essayé d'être aussi complet que possible.
Tout d'abord une photo vue du dessus de mon board (il y a un brin de poussière, désolé ^^).
J'ai donc une touche "game", "shift", "volume -" et "volume +", "select player 1" et "select player 2", ainsi que pour chacun des deux joueurs un joystick et 8 boutons. Le tout connecté à un IPAC-2, lui-même relié à un Odroid XU4 (ou un RPI3b qui fonctionne très bien mais ce n'est pas le sujet).
Voici ce que j'ai au lancement de evtest:
# evtest No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: gpio_keys /dev/input/event1: C-Media Electronics Inc. USB Audio Device /dev/input/event2: Ultimarc Ultimarc /dev/input/event3: ADS7846 Touchscreen /dev/input/event4: Ultimarc Ultimarc /dev/input/event5: Ultimarc Ultimarc /dev/input/event6: Ultimarc I-PAC 2 Ultimarc I-PAC 2 /dev/input/event7: Dell Dell USB Keyboard Select the device event number [0-7]: 6 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0xd209 product 0x301 version 0x111 Input device name: "Ultimarc I-PAC 2 Ultimarc I-PAC 2" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 1 (KEY_ESC) Event code 2 (KEY_1) Event code 3 (KEY_2) Event code 4 (KEY_3) Event code 5 (KEY_4) Event code 6 (KEY_5) Event code 7 (KEY_6) Event code 8 (KEY_7) Event code 9 (KEY_8) Event code 10 (KEY_9) Event code 11 (KEY_0) Event code 12 (KEY_MINUS) Event code 13 (KEY_EQUAL) Event code 14 (KEY_BACKSPACE) Event code 15 (KEY_TAB) Event code 16 (KEY_Q) Event code 17 (KEY_W) Event code 18 (KEY_E) Event code 19 (KEY_R) Event code 20 (KEY_T) Event code 21 (KEY_Y) Event code 22 (KEY_U) Event code 23 (KEY_I) Event code 24 (KEY_O) Event code 25 (KEY_P) Event code 26 (KEY_LEFTBRACE) Event code 27 (KEY_RIGHTBRACE) Event code 28 (KEY_ENTER) Event code 29 (KEY_LEFTCTRL) Event code 30 (KEY_A) Event code 31 (KEY_S) Event code 32 (KEY_D) Event code 33 (KEY_F) Event code 34 (KEY_G) Event code 35 (KEY_H) Event code 36 (KEY_J) Event code 37 (KEY_K) Event code 38 (KEY_L) Event code 39 (KEY_SEMICOLON) Event code 40 (KEY_APOSTROPHE) Event code 41 (KEY_GRAVE) Event code 42 (KEY_LEFTSHIFT) Event code 43 (KEY_BACKSLASH) Event code 44 (KEY_Z) Event code 45 (KEY_X) Event code 46 (KEY_C) Event code 47 (KEY_V) Event code 48 (KEY_B) Event code 49 (KEY_N) Event code 50 (KEY_M) Event code 51 (KEY_COMMA) Event code 52 (KEY_DOT) Event code 53 (KEY_SLASH) Event code 54 (KEY_RIGHTSHIFT) Event code 55 (KEY_KPASTERISK) Event code 56 (KEY_LEFTALT) Event code 57 (KEY_SPACE) Event code 58 (KEY_CAPSLOCK) Event code 59 (KEY_F1) Event code 60 (KEY_F2) Event code 61 (KEY_F3) Event code 62 (KEY_F4) Event code 63 (KEY_F5) Event code 64 (KEY_F6) Event code 65 (KEY_F7) Event code 66 (KEY_F8) Event code 67 (KEY_F9) Event code 68 (KEY_F10) Event code 69 (KEY_NUMLOCK) Event code 70 (KEY_SCROLLLOCK) Event code 71 (KEY_KP7) Event code 72 (KEY_KP8) Event code 73 (KEY_KP9) Event code 74 (KEY_KPMINUS) Event code 75 (KEY_KP4) Event code 76 (KEY_KP5) Event code 77 (KEY_KP6) Event code 78 (KEY_KPPLUS) Event code 79 (KEY_KP1) Event code 80 (KEY_KP2) Event code 81 (KEY_KP3) Event code 82 (KEY_KP0) Event code 83 (KEY_KPDOT) Event code 86 (KEY_102ND) Event code 87 (KEY_F11) Event code 88 (KEY_F12) Event code 96 (KEY_KPENTER) Event code 97 (KEY_RIGHTCTRL) Event code 98 (KEY_KPSLASH) Event code 99 (KEY_SYSRQ) Event code 100 (KEY_RIGHTALT) Event code 102 (KEY_HOME) Event code 103 (KEY_UP) Event code 104 (KEY_PAGEUP) Event code 105 (KEY_LEFT) Event code 106 (KEY_RIGHT) Event code 107 (KEY_END) Event code 108 (KEY_DOWN) Event code 109 (KEY_PAGEDOWN) Event code 110 (KEY_INSERT) Event code 111 (KEY_DELETE) Event code 119 (KEY_PAUSE) Event code 125 (KEY_LEFTMETA) Event code 126 (KEY_RIGHTMETA) Event code 127 (KEY_COMPOSE) Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Event type 17 (EV_LED) Event code 0 (LED_NUML) state 0 Event code 1 (LED_CAPSL) state 0 Event code 2 (LED_SCROLLL) state 0 Event code 3 (LED_COMPOSE) state 0 Event code 4 (LED_KANA) state 0 Key repeat handling: Repeat type 20 (EV_REP) Repeat code 0 (REP_DELAY) Value 250 Repeat code 1 (REP_PERIOD) Value 33 Properties: Testing ... (interrupt to exit)
Ensuite j'ai appuyé un à un sur toutes les touches (et directions pour les joysticks). L'outil evtest m'a donné un output, que j'ai découpé pour indiquer quel événement correspond à chaque bouton/joystick de mon board.
Game: Event: time 1602867195.836506, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70028 Event: time 1602867195.836506, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1 Event: time 1602867195.836506, -------------- SYN_REPORT ------------ Event: time 1602867196.016502, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70028 Event: time 1602867196.016502, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0 Event: time 1602867196.016502, -------------- SYN_REPORT ------------ Shift: Event: time 1602867198.012503, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70013 Event: time 1602867198.012503, type 1 (EV_KEY), code 25 (KEY_P), value 1 Event: time 1602867198.012503, -------------- SYN_REPORT ------------ Event: time 1602867198.236495, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70013 Event: time 1602867198.236495, type 1 (EV_KEY), code 25 (KEY_P), value 0 Event: time 1602867198.236495, -------------- SYN_REPORT ------------ Volume down: Event: time 1602867199.948497, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002d Event: time 1602867199.948497, type 1 (EV_KEY), code 12 (KEY_MINUS), value 1 Event: time 1602867199.948497, -------------- SYN_REPORT ------------ Event: time 1602867200.144489, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002d Event: time 1602867200.144489, type 1 (EV_KEY), code 12 (KEY_MINUS), value 0 Event: time 1602867200.144489, -------------- SYN_REPORT ------------ Volume up: Event: time 1602867200.868493, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002e Event: time 1602867200.868493, type 1 (EV_KEY), code 13 (KEY_EQUAL), value 1 Event: time 1602867200.868493, -------------- SYN_REPORT ------------ Event: time 1602867201.072492, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002e Event: time 1602867201.072492, type 1 (EV_KEY), code 13 (KEY_EQUAL), value 0 Event: time 1602867201.072492, -------------- SYN_REPORT ------------ Select player 1: Event: time 1602867201.884490, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001e Event: time 1602867201.884490, type 1 (EV_KEY), code 2 (KEY_1), value 1 Event: time 1602867201.884490, -------------- SYN_REPORT ------------ Event: time 1602867202.096484, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001e Event: time 1602867202.096484, type 1 (EV_KEY), code 2 (KEY_1), value 0 Event: time 1602867202.096484, -------------- SYN_REPORT ------------ Select player 2: Event: time 1602867202.788485, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001f Event: time 1602867202.788485, type 1 (EV_KEY), code 3 (KEY_2), value 1 Event: time 1602867202.788485, -------------- SYN_REPORT ------------ Event: time 1602867203.028481, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001f Event: time 1602867203.028481, type 1 (EV_KEY), code 3 (KEY_2), value 0 Event: time 1602867203.028481, -------------- SYN_REPORT ------------ Player 1 - Joystick up: Event: time 1602866642.150741, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70052 Event: time 1602866642.150741, type 1 (EV_KEY), code 103 (KEY_UP), value 1 Event: time 1602866642.150741, -------------- SYN_REPORT ------------ Event: time 1602866642.334743, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70052 Event: time 1602866642.334743, type 1 (EV_KEY), code 103 (KEY_UP), value 0 Event: time 1602866642.334743, -------------- SYN_REPORT ------------ Player 1 - Joystick down: Event: time 1602866643.390745, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70051 Event: time 1602866643.390745, type 1 (EV_KEY), code 108 (KEY_DOWN), value 1 Event: time 1602866643.390745, -------------- SYN_REPORT ------------ Event: time 1602866643.602733, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70051 Event: time 1602866643.602733, type 1 (EV_KEY), code 108 (KEY_DOWN), value 0 Event: time 1602866643.602733, -------------- SYN_REPORT ------------ Player 1 - Joystick left: Event: time 1602866645.002731, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70050 Event: time 1602866645.002731, type 1 (EV_KEY), code 105 (KEY_LEFT), value 1 Event: time 1602866645.002731, -------------- SYN_REPORT ------------ Event: time 1602866645.226725, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70050 Event: time 1602866645.226725, type 1 (EV_KEY), code 105 (KEY_LEFT), value 0 Event: time 1602866645.226725, -------------- SYN_REPORT ------------ Player 1 - Joystick right: Event: time 1602866646.370731, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004f Event: time 1602866646.370731, type 1 (EV_KEY), code 106 (KEY_RIGHT), value 1 Event: time 1602866646.370731, -------------- SYN_REPORT ------------ Event: time 1602866646.542721, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004f Event: time 1602866646.542721, type 1 (EV_KEY), code 106 (KEY_RIGHT), value 0 Event: time 1602866646.542721, -------------- SYN_REPORT ------------ Player 1 - button 1: Event: time 1602866340.211744, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0 Event: time 1602866340.211744, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1 Event: time 1602866340.211744, -------------- SYN_REPORT ------------ Event: time 1602866340.339740, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0 Event: time 1602866340.339740, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0 Event: time 1602866340.339740, -------------- SYN_REPORT ------------ Player 1 - button 2: Event: time 1602866340.887739, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2 Event: time 1602866340.887739, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1 Event: time 1602866340.887739, -------------- SYN_REPORT ------------ Event: time 1602866341.003737, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2 Event: time 1602866341.003737, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0 Event: time 1602866341.003737, -------------- SYN_REPORT ------------ Player 1 - button 3: Event: time 1602866341.511742, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002c Event: time 1602866341.511742, type 1 (EV_KEY), code 57 (KEY_SPACE), value 1 Event: time 1602866341.511742, -------------- SYN_REPORT ------------ Event: time 1602866341.655735, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002c Event: time 1602866341.655735, type 1 (EV_KEY), code 57 (KEY_SPACE), value 0 Event: time 1602866341.655735, -------------- SYN_REPORT ------------ Player 1 - button 4: Event: time 1602866342.183734, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e1 Event: time 1602866342.183734, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 1 Event: time 1602866342.183734, -------------- SYN_REPORT ------------ Event: time 1602866342.291729, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e1 Event: time 1602866342.291729, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 0 Event: time 1602866342.291729, -------------- SYN_REPORT ------------ Player 1 - button 5: (not working?) Player 1 - button 6: Event: time 1602866513.331106, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001b Event: time 1602866513.331106, type 1 (EV_KEY), code 45 (KEY_X), value 1 Event: time 1602866513.331106, -------------- SYN_REPORT ------------ Event: time 1602866513.471097, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001b Event: time 1602866513.471097, type 1 (EV_KEY), code 45 (KEY_X), value 0 Event: time 1602866513.471097, -------------- SYN_REPORT ------------ Player 1 - button 7: Event: time 1602866514.183102, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70006 Event: time 1602866514.183102, type 1 (EV_KEY), code 46 (KEY_C), value 1 Event: time 1602866514.183102, -------------- SYN_REPORT ------------ Event: time 1602866514.307093, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70006 Event: time 1602866514.307093, type 1 (EV_KEY), code 46 (KEY_C), value 0 Event: time 1602866514.307093, -------------- SYN_REPORT ------------ Player 1 - button 8: Event: time 1602866515.047102, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70019 Event: time 1602866515.047102, type 1 (EV_KEY), code 47 (KEY_V), value 1 Event: time 1602866515.047102, -------------- SYN_REPORT ------------ Event: time 1602866515.147092, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70019 Event: time 1602866515.147092, type 1 (EV_KEY), code 47 (KEY_V), value 0 Event: time 1602866515.147092, -------------- SYN_REPORT ------------ Player 2 - Joystick up: Event: time 1602866812.029980, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70015 Event: time 1602866812.029980, type 1 (EV_KEY), code 19 (KEY_R), value 1 Event: time 1602866812.029980, -------------- SYN_REPORT ------------ Event: time 1602866812.285967, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70015 Event: time 1602866812.285967, type 1 (EV_KEY), code 19 (KEY_R), value 0 Event: time 1602866812.285967, -------------- SYN_REPORT ------------ Player 2 - Joystick down: Event: time 1602866813.053973, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70009 Event: time 1602866813.053973, type 1 (EV_KEY), code 33 (KEY_F), value 1 Event: time 1602866813.053973, -------------- SYN_REPORT ------------ Event: time 1602866813.257973, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70009 Event: time 1602866813.257973, type 1 (EV_KEY), code 33 (KEY_F), value 0 Event: time 1602866813.257973, -------------- SYN_REPORT ------------ Player 2 - Joystick left: Event: time 1602866814.177968, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70007 Event: time 1602866814.177968, type 1 (EV_KEY), code 32 (KEY_D), value 1 Event: time 1602866814.177968, -------------- SYN_REPORT ------------ Event: time 1602866814.413960, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70007 Event: time 1602866814.413960, type 1 (EV_KEY), code 32 (KEY_D), value 0 Event: time 1602866814.413960, -------------- SYN_REPORT ------------ Player 2 - Joystick right: Event: time 1602866815.285963, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000a Event: time 1602866815.285963, type 1 (EV_KEY), code 34 (KEY_G), value 1 Event: time 1602866815.285963, -------------- SYN_REPORT ------------ Event: time 1602866815.437955, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000a Event: time 1602866815.437955, type 1 (EV_KEY), code 34 (KEY_G), value 0 Event: time 1602866815.437955, -------------- SYN_REPORT ------------ Player 2 - Button 1: Event: time 1602866817.413952, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70004 Event: time 1602866817.413952, type 1 (EV_KEY), code 30 (KEY_A), value 1 Event: time 1602866817.413952, -------------- SYN_REPORT ------------ Event: time 1602866817.597957, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70004 Event: time 1602866817.597957, type 1 (EV_KEY), code 30 (KEY_A), value 0 Event: time 1602866817.597957, -------------- SYN_REPORT ------------ Player 2 - Button 2: Event: time 1602866819.449940, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70016 Event: time 1602866819.449940, type 1 (EV_KEY), code 31 (KEY_S), value 1 Event: time 1602866819.449940, -------------- SYN_REPORT ------------ Event: time 1602866819.625941, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70016 Event: time 1602866819.625941, type 1 (EV_KEY), code 31 (KEY_S), value 0 Event: time 1602866819.625941, -------------- SYN_REPORT ------------ Player 2 - Button 3: Event: time 1602866821.081932, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70014 Event: time 1602866821.081932, type 1 (EV_KEY), code 16 (KEY_Q), value 1 Event: time 1602866821.081932, -------------- SYN_REPORT ------------ Event: time 1602866821.181923, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70014 Event: time 1602866821.181923, type 1 (EV_KEY), code 16 (KEY_Q), value 0 Event: time 1602866821.181923, -------------- SYN_REPORT ------------ Player 2 - Button 4: Event: time 1602866822.201933, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001a Event: time 1602866822.201933, type 1 (EV_KEY), code 17 (KEY_W), value 1 Event: time 1602866822.201933, -------------- SYN_REPORT ------------ Event: time 1602866822.329916, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001a Event: time 1602866822.329916, type 1 (EV_KEY), code 17 (KEY_W), value 0 Event: time 1602866822.329916, -------------- SYN_REPORT ------------ Player 2 - Button 5: Event: time 1602866823.333921, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000c Event: time 1602866823.333921, type 1 (EV_KEY), code 23 (KEY_I), value 1 Event: time 1602866823.333921, -------------- SYN_REPORT ------------ Event: time 1602866823.473918, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000c Event: time 1602866823.473918, type 1 (EV_KEY), code 23 (KEY_I), value 0 Event: time 1602866823.473918, -------------- SYN_REPORT ------------ Player 2 - Button 6: Event: time 1602866824.401917, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000d Event: time 1602866824.401917, type 1 (EV_KEY), code 36 (KEY_J), value 1 Event: time 1602866824.401917, -------------- SYN_REPORT ------------ Event: time 1602866824.529909, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000d Event: time 1602866824.529909, type 1 (EV_KEY), code 36 (KEY_J), value 0 Event: time 1602866824.529909, -------------- SYN_REPORT ------------ Player 2 - Button 7: Event: time 1602866825.437909, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000e Event: time 1602866825.437909, type 1 (EV_KEY), code 37 (KEY_K), value 1 Event: time 1602866825.437909, -------------- SYN_REPORT ------------ Event: time 1602866825.589898, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000e Event: time 1602866825.589898, type 1 (EV_KEY), code 37 (KEY_K), value 0 Event: time 1602866825.589898, -------------- SYN_REPORT ------------ Player 2 - Button 8: Event: time 1602866826.557909, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000f Event: time 1602866826.557909, type 1 (EV_KEY), code 38 (KEY_L), value 1 Event: time 1602866826.557909, -------------- SYN_REPORT ------------ Event: time 1602866826.697895, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000f Event: time 1602866826.697895, type 1 (EV_KEY), code 38 (KEY_L), value 0 Event: time 1602866826.697895, -------------- SYN_REPORT ------------
A noter que le bouton 5 du joueur 1 ne donne pas d'event. C'est probablement un souci hardware, j'ai la même chose avec mon RPI3b mais je n'en ai pas eu l'utilité jusqu'ici.
-
This post is deleted! -
Pour le bouton 5 du joueur 1 mentionné ci-dessus il y avait un câble débranché. Et j'ai oublié également les 2 monnayeurs dans les portes de ma borne. Du coup voilà la liste complète des input sur mon IPAC-2 (avec evtest).
Game: Event: time 1602867195.836506, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70028 Event: time 1602867195.836506, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1 Event: time 1602867195.836506, -------------- SYN_REPORT ------------ Event: time 1602867196.016502, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70028 Event: time 1602867196.016502, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0 Event: time 1602867196.016502, -------------- SYN_REPORT ------------ Shift: Event: time 1602867198.012503, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70013 Event: time 1602867198.012503, type 1 (EV_KEY), code 25 (KEY_P), value 1 Event: time 1602867198.012503, -------------- SYN_REPORT ------------ Event: time 1602867198.236495, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70013 Event: time 1602867198.236495, type 1 (EV_KEY), code 25 (KEY_P), value 0 Event: time 1602867198.236495, -------------- SYN_REPORT ------------ Volume down: Event: time 1602867199.948497, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002d Event: time 1602867199.948497, type 1 (EV_KEY), code 12 (KEY_MINUS), value 1 Event: time 1602867199.948497, -------------- SYN_REPORT ------------ Event: time 1602867200.144489, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002d Event: time 1602867200.144489, type 1 (EV_KEY), code 12 (KEY_MINUS), value 0 Event: time 1602867200.144489, -------------- SYN_REPORT ------------ Volume up: Event: time 1602867200.868493, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002e Event: time 1602867200.868493, type 1 (EV_KEY), code 13 (KEY_EQUAL), value 1 Event: time 1602867200.868493, -------------- SYN_REPORT ------------ Event: time 1602867201.072492, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002e Event: time 1602867201.072492, type 1 (EV_KEY), code 13 (KEY_EQUAL), value 0 Event: time 1602867201.072492, -------------- SYN_REPORT ------------ Select player 1: Event: time 1602867201.884490, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001e Event: time 1602867201.884490, type 1 (EV_KEY), code 2 (KEY_1), value 1 Event: time 1602867201.884490, -------------- SYN_REPORT ------------ Event: time 1602867202.096484, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001e Event: time 1602867202.096484, type 1 (EV_KEY), code 2 (KEY_1), value 0 Event: time 1602867202.096484, -------------- SYN_REPORT ------------ Select player 2: Event: time 1602867202.788485, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001f Event: time 1602867202.788485, type 1 (EV_KEY), code 3 (KEY_2), value 1 Event: time 1602867202.788485, -------------- SYN_REPORT ------------ Event: time 1602867203.028481, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001f Event: time 1602867203.028481, type 1 (EV_KEY), code 3 (KEY_2), value 0 Event: time 1602867203.028481, -------------- SYN_REPORT ------------ Coind door 1: Event: time 1602926342.391123, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70022 Event: time 1602926342.391123, type 1 (EV_KEY), code 6 (KEY_5), value 1 Event: time 1602926342.391123, -------------- SYN_REPORT ------------ Event: time 1602926342.443119, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70022 Event: time 1602926342.443119, type 1 (EV_KEY), code 6 (KEY_5), value 0 Event: time 1602926342.443119, -------------- SYN_REPORT ------------ Coind door 2: Event: time 1602926345.383100, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70023 Event: time 1602926345.383100, type 1 (EV_KEY), code 7 (KEY_6), value 1 Event: time 1602926345.383100, -------------- SYN_REPORT ------------ Event: time 1602926345.427085, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70023 Event: time 1602926345.427085, type 1 (EV_KEY), code 7 (KEY_6), value 0 Event: time 1602926345.427085, -------------- SYN_REPORT ------------ Player 1 - Joystick up: Event: time 1602866642.150741, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70052 Event: time 1602866642.150741, type 1 (EV_KEY), code 103 (KEY_UP), value 1 Event: time 1602866642.150741, -------------- SYN_REPORT ------------ Event: time 1602866642.334743, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70052 Event: time 1602866642.334743, type 1 (EV_KEY), code 103 (KEY_UP), value 0 Event: time 1602866642.334743, -------------- SYN_REPORT ------------ Player 1 - Joystick down: Event: time 1602866643.390745, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70051 Event: time 1602866643.390745, type 1 (EV_KEY), code 108 (KEY_DOWN), value 1 Event: time 1602866643.390745, -------------- SYN_REPORT ------------ Event: time 1602866643.602733, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70051 Event: time 1602866643.602733, type 1 (EV_KEY), code 108 (KEY_DOWN), value 0 Event: time 1602866643.602733, -------------- SYN_REPORT ------------ Player 1 - Joystick left: Event: time 1602866645.002731, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70050 Event: time 1602866645.002731, type 1 (EV_KEY), code 105 (KEY_LEFT), value 1 Event: time 1602866645.002731, -------------- SYN_REPORT ------------ Event: time 1602866645.226725, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70050 Event: time 1602866645.226725, type 1 (EV_KEY), code 105 (KEY_LEFT), value 0 Event: time 1602866645.226725, -------------- SYN_REPORT ------------ Player 1 - Joystick right: Event: time 1602866646.370731, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004f Event: time 1602866646.370731, type 1 (EV_KEY), code 106 (KEY_RIGHT), value 1 Event: time 1602866646.370731, -------------- SYN_REPORT ------------ Event: time 1602866646.542721, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004f Event: time 1602866646.542721, type 1 (EV_KEY), code 106 (KEY_RIGHT), value 0 Event: time 1602866646.542721, -------------- SYN_REPORT ------------ Player 1 - button 1: Event: time 1602866340.211744, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0 Event: time 1602866340.211744, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1 Event: time 1602866340.211744, -------------- SYN_REPORT ------------ Event: time 1602866340.339740, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0 Event: time 1602866340.339740, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 0 Event: time 1602866340.339740, -------------- SYN_REPORT ------------ Player 1 - button 2: Event: time 1602866340.887739, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2 Event: time 1602866340.887739, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 1 Event: time 1602866340.887739, -------------- SYN_REPORT ------------ Event: time 1602866341.003737, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e2 Event: time 1602866341.003737, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0 Event: time 1602866341.003737, -------------- SYN_REPORT ------------ Player 1 - button 3: Event: time 1602866341.511742, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002c Event: time 1602866341.511742, type 1 (EV_KEY), code 57 (KEY_SPACE), value 1 Event: time 1602866341.511742, -------------- SYN_REPORT ------------ Event: time 1602866341.655735, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002c Event: time 1602866341.655735, type 1 (EV_KEY), code 57 (KEY_SPACE), value 0 Event: time 1602866341.655735, -------------- SYN_REPORT ------------ Player 1 - button 4: Event: time 1602866342.183734, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e1 Event: time 1602866342.183734, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 1 Event: time 1602866342.183734, -------------- SYN_REPORT ------------ Event: time 1602866342.291729, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e1 Event: time 1602866342.291729, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 0 Event: time 1602866342.291729, -------------- SYN_REPORT ------------ Player 1 - button 5: Event: time 1602925878.095463, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001d Event: time 1602925878.095463, type 1 (EV_KEY), code 44 (KEY_Z), value 1 Event: time 1602925878.095463, -------------- SYN_REPORT ------------ Event: time 1602925878.315454, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001d Event: time 1602925878.315454, type 1 (EV_KEY), code 44 (KEY_Z), value 0 Event: time 1602925878.315454, -------------- SYN_REPORT ------------ Player 1 - button 6: Event: time 1602866513.331106, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001b Event: time 1602866513.331106, type 1 (EV_KEY), code 45 (KEY_X), value 1 Event: time 1602866513.331106, -------------- SYN_REPORT ------------ Event: time 1602866513.471097, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001b Event: time 1602866513.471097, type 1 (EV_KEY), code 45 (KEY_X), value 0 Event: time 1602866513.471097, -------------- SYN_REPORT ------------ Player 1 - button 7: Event: time 1602866514.183102, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70006 Event: time 1602866514.183102, type 1 (EV_KEY), code 46 (KEY_C), value 1 Event: time 1602866514.183102, -------------- SYN_REPORT ------------ Event: time 1602866514.307093, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70006 Event: time 1602866514.307093, type 1 (EV_KEY), code 46 (KEY_C), value 0 Event: time 1602866514.307093, -------------- SYN_REPORT ------------ Player 1 - button 8: Event: time 1602866515.047102, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70019 Event: time 1602866515.047102, type 1 (EV_KEY), code 47 (KEY_V), value 1 Event: time 1602866515.047102, -------------- SYN_REPORT ------------ Event: time 1602866515.147092, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70019 Event: time 1602866515.147092, type 1 (EV_KEY), code 47 (KEY_V), value 0 Event: time 1602866515.147092, -------------- SYN_REPORT ------------ Player 2 - Joystick up: Event: time 1602866812.029980, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70015 Event: time 1602866812.029980, type 1 (EV_KEY), code 19 (KEY_R), value 1 Event: time 1602866812.029980, -------------- SYN_REPORT ------------ Event: time 1602866812.285967, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70015 Event: time 1602866812.285967, type 1 (EV_KEY), code 19 (KEY_R), value 0 Event: time 1602866812.285967, -------------- SYN_REPORT ------------ Player 2 - Joystick down: Event: time 1602866813.053973, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70009 Event: time 1602866813.053973, type 1 (EV_KEY), code 33 (KEY_F), value 1 Event: time 1602866813.053973, -------------- SYN_REPORT ------------ Event: time 1602866813.257973, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70009 Event: time 1602866813.257973, type 1 (EV_KEY), code 33 (KEY_F), value 0 Event: time 1602866813.257973, -------------- SYN_REPORT ------------ Player 2 - Joystick left: Event: time 1602866814.177968, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70007 Event: time 1602866814.177968, type 1 (EV_KEY), code 32 (KEY_D), value 1 Event: time 1602866814.177968, -------------- SYN_REPORT ------------ Event: time 1602866814.413960, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70007 Event: time 1602866814.413960, type 1 (EV_KEY), code 32 (KEY_D), value 0 Event: time 1602866814.413960, -------------- SYN_REPORT ------------ Player 2 - Joystick right: Event: time 1602866815.285963, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000a Event: time 1602866815.285963, type 1 (EV_KEY), code 34 (KEY_G), value 1 Event: time 1602866815.285963, -------------- SYN_REPORT ------------ Event: time 1602866815.437955, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000a Event: time 1602866815.437955, type 1 (EV_KEY), code 34 (KEY_G), value 0 Event: time 1602866815.437955, -------------- SYN_REPORT ------------ Player 2 - Button 1: Event: time 1602866817.413952, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70004 Event: time 1602866817.413952, type 1 (EV_KEY), code 30 (KEY_A), value 1 Event: time 1602866817.413952, -------------- SYN_REPORT ------------ Event: time 1602866817.597957, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70004 Event: time 1602866817.597957, type 1 (EV_KEY), code 30 (KEY_A), value 0 Event: time 1602866817.597957, -------------- SYN_REPORT ------------ Player 2 - Button 2: Event: time 1602866819.449940, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70016 Event: time 1602866819.449940, type 1 (EV_KEY), code 31 (KEY_S), value 1 Event: time 1602866819.449940, -------------- SYN_REPORT ------------ Event: time 1602866819.625941, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70016 Event: time 1602866819.625941, type 1 (EV_KEY), code 31 (KEY_S), value 0 Event: time 1602866819.625941, -------------- SYN_REPORT ------------ Player 2 - Button 3: Event: time 1602866821.081932, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70014 Event: time 1602866821.081932, type 1 (EV_KEY), code 16 (KEY_Q), value 1 Event: time 1602866821.081932, -------------- SYN_REPORT ------------ Event: time 1602866821.181923, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70014 Event: time 1602866821.181923, type 1 (EV_KEY), code 16 (KEY_Q), value 0 Event: time 1602866821.181923, -------------- SYN_REPORT ------------ Player 2 - Button 4: Event: time 1602866822.201933, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001a Event: time 1602866822.201933, type 1 (EV_KEY), code 17 (KEY_W), value 1 Event: time 1602866822.201933, -------------- SYN_REPORT ------------ Event: time 1602866822.329916, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7001a Event: time 1602866822.329916, type 1 (EV_KEY), code 17 (KEY_W), value 0 Event: time 1602866822.329916, -------------- SYN_REPORT ------------ Player 2 - Button 5: Event: time 1602866823.333921, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000c Event: time 1602866823.333921, type 1 (EV_KEY), code 23 (KEY_I), value 1 Event: time 1602866823.333921, -------------- SYN_REPORT ------------ Event: time 1602866823.473918, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000c Event: time 1602866823.473918, type 1 (EV_KEY), code 23 (KEY_I), value 0 Event: time 1602866823.473918, -------------- SYN_REPORT ------------ Player 2 - Button 6: Event: time 1602866824.401917, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000d Event: time 1602866824.401917, type 1 (EV_KEY), code 36 (KEY_J), value 1 Event: time 1602866824.401917, -------------- SYN_REPORT ------------ Event: time 1602866824.529909, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000d Event: time 1602866824.529909, type 1 (EV_KEY), code 36 (KEY_J), value 0 Event: time 1602866824.529909, -------------- SYN_REPORT ------------ Player 2 - Button 7: Event: time 1602866825.437909, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000e Event: time 1602866825.437909, type 1 (EV_KEY), code 37 (KEY_K), value 1 Event: time 1602866825.437909, -------------- SYN_REPORT ------------ Event: time 1602866825.589898, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000e Event: time 1602866825.589898, type 1 (EV_KEY), code 37 (KEY_K), value 0 Event: time 1602866825.589898, -------------- SYN_REPORT ------------ Player 2 - Button 8: Event: time 1602866826.557909, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000f Event: time 1602866826.557909, type 1 (EV_KEY), code 38 (KEY_L), value 1 Event: time 1602866826.557909, -------------- SYN_REPORT ------------ Event: time 1602866826.697895, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7000f Event: time 1602866826.697895, type 1 (EV_KEY), code 38 (KEY_L), value 0 Event: time 1602866826.697895, -------------- SYN_REPORT ------------
J'ai également retiré le clavier qui était branché ainsi que mes deux lightguns. Et maintenant sdl2-jstest ne voit plus aucun joystick (les touches de mon IPAC-2 - mal configurées) continuent de répondre sous ES.
# sdl2-jstest --list error: failed to read gamecontrollerdb.txt: Invalid RWops No joysticks were found