Sony DualShock 3 - call for testers: "sixaxis" script module
-
@psyke83
SDL2 info:ii libsdl2-2.0-0:armhf 2.0.7+2rpi armhf Simple DirectMedia Layer hi libsdl2-dev:armhf 2.0.7+2rpi armhf Simple DirectMedia Layer development files ii libsdl2-image-2.0-0:armhf 2.0.0+dfsg-3+b1 armhf Image loading library for Simple DirectMedia Layer 2, libraries ii libsdl2-image-dev:armhf 2.0.0+dfsg-3+b1 armhf Image loading library for Simple DirectMedia Layer 2, development files ii libsdl2-mixer-2.0-0:armhf 2.0.0+dfsg1-5 armhf Mixer library for Simple DirectMedia Layer 2, libraries ii libsdl2-mixer-dev:armhf 2.0.0+dfsg1-5 armhf Mixer library for Simple DirectMedia Layer 2, development files ii libsdl2-ttf-2.0-0:armhf 2.0.12+dfsg1-2 armhf TrueType Font library for Simple DirectMedia Layer 2, libraries ii libsdl2-ttf-dev:armhf 2.0.12+dfsg1-2 armhf TrueType Font library for Simple DirectMedia Layer 2, development files
I was able to use the SSH method you mentioned above and I was able to verify that all of the controls produce the message (except events 304, 305, 307, & 308 but I wasn't able to find a way to activate them)
I guess I should have mentioned that I am using RetroPie 4.3.9 on a Pi3.
So I did some testing...
This issue does NOT occur when using the binary install from the retropie script.
This issue DOES appear when using the source install from the retropie script.I am using a stable (NOT MASTER) branch of ES I compiled myself (in which I just changed some fonts/icons).
How much older is the binary of ES compared to the stable branch source? It seems like the stable branch doesn't get updated very much from the last time I looked at it in github.I'm curious on what is causing this and how to resolve it.
-
I think that the difference here has nothing to do with changes in EmulationStation, and everything to do with the SDL2 library/headers installed on your system that are used to build the program. You'd see those errors when using an unpatched SDL2 library... but it seems that the version on your system (2.0.7+2rpi) is up to date.
I can't reproduce this by building EmulationStation from source, but I'm currently testing on stretch. I don't recall seeing this when I was testing on a standard jessie image, however. Perhaps try to rebuild/reinstall the SDL2 packages and then EmulationStation:
sudo ./retropie_packages.sh sdl2 sudo ./retropie_packages.sh emulationstation
-
@psyke83
So I did the commands you suggested above, and the issue was not resolved I then ran the following:sudo apt-get remove --purge libsdl2-dev sudo apt-get -f install && sudo apt-get autoremove && sudo apt-get -y autoclean && sudo apt-get -y clean
after running those I tried to reinstall SDL/ES again and the error messages still occurs.
Does it matter that I have this version of SDL still installed?:
hi libsdl1.2-dev 1.2.15-12rpi armhf Simple DirectMedia Layer development files ii libsdl1.2debian:armhf 1.2.15-12rpi armhf Simple DirectMedia Layer
I have been using and updating this image of RetroPie for a little over a year now (i'm not sure which version I started with). Perhaps that has something to do with this?
-
I tried doing the opposite; I rebuilt SDL with the patch that I mentioned earlier re-applied to the source, and couldn't reproduce the SDL log spam, even after rebuilding EmulationStation. I'm quite perplexed at the situation, as my controller produces the same keycode values as yours, but I've never seen these messages on jessie or stretch.
If you happen to have a spare SD card, perhaps you could try re-installing the latest image and testing the PR on a fresh installation? That's asking a lot, however, so don't feel obliged. The next release is going to be based on stretch, so perhaps it's better to wait a little while for that.
Apart from the spam, have you encountered any issues? It's been reported to me that ps3controller (sixad) causes dropped inputs when multiple controllers are used; I'm curious if the PR improves that situation or not.
Your version of SDL1 is also up-to-date, but as far as I can tell it doesn't have the same problem, and EmulationStation uses SDL2 exclusively.
-
I can try it on a fresh image of RP this weekend, when you mean multiple controllers do you mean multiple PS3 controllers? or a combination of different controllers?
Any idea when the next RP version based on Stretch is going to be released? Maybe I could just wait for it to come out and copy all my custom settings/files from my current image to a fresh image (although that would be a major task in and of itself, I have added an ungodly amount of customization to my image).
Also I might be able to compress my image and host it on Dropbox or something if you really want to take a look at it. -
@psyke83 Good news, I was able to compile ES from a fresh copy of RetroPie and then copy that executable over to my original image and the message no longer appears :)
-
@madmodder123 said in Sony DualShock 3 - call for testers: "sixaxis" script module:
@psyke83 Good news, I was able to compile ES from a fresh copy of RetroPie and then copy that executable over to my original image and the message no longer appears :)
Good news - so let's assume it's a quirk from your installation that won't impact most users. If you really want to figure out why it's happening, some thoughts below.
I posted the wrong link before; this is the commit that should have fixed your problem.
Perhaps you could try to do a grep of the libraries on your system:
grep -r "key you just pressed" /usr/lib
Mine results in a match in libSDL2, but it's only the message from the X11 video driver which doesn't get used on RetroPie (and yours was also the EVDEV one that the commit above would silence):
$ strings /usr/lib/arm-linux-gnueabihf/libSDL2-2.0.so.0.7.0 | grep "key you just pressed" The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode %d (%d), X11 KeySym 0x%lX (%s).
Perhaps you could also try rebuilding EmulationStation and grepping the resulting binary for the string... although I don't see why that'd happen unless you modified the source to statically link SDL2 into the executable.
-
Thanks @psyke83 , this works great on my end as well with the original PS3 controllers and Shanwan as well.
Does anyone have gasia controllers they could test? Tagging @meleu @mediamogul @cyperghost in hopes one of them would have these? :)
-
@pjft No ...2 idroid:con paddels here ;)
-
Sorry, none here either.
-
@mediamogul @cyperghost thanks, sorry for tagging you. It was worth a shot? :)
-
@pjft said in Sony DualShock 3 - call for testers: "sixaxis" script module:
sorry for tagging you. It was worth a shot? :)
Not a problem. Never hurts to ask.
-
@pjft No problem bro
Always here for help :) -
@psyke83 I have been busy but I will do this when I have time!
-
Just for information, I tested this with the Etch image with official PS3 controllers.
Pairing works fine (wasn't working at all with the native image).I got a lot of unwanted button press, even in the controller configuration phase, which is pretty annoying.
Dmesg is full withBluetooth: hci0: Frame reassembly failed (-84)
andBluetooth: hci0 SCO packet for unknown connection handle 5125
errors, but I doubt this has to do with your script module (already had those errors with jessie and native bluetooth).
I'll have to find a bluetooth adapter to see if this helps, as I've seen around the web. -
Thanks for testing! Some questions, if you don't mind...
Did you install the PR more than 5 days ago? In the latest refresh of the PR, I patched the hid-sony kernel driver to make it use the original button mappings from the kernel 4.9 driver, but I also made a change that would cause errant button presses related to L2/R2.
The unmodified hid-sony driver's behaviour with the L2/R2 triggers is to emit both digital button and analog axis events, which gets interpreted as two separate presses in userspace. In the latest refresh of the PR that reverts to the old mappings, I also patched the driver to disable the analog trigger axes, leaving just the digital buttons presses.
If you're testing an older PR, I recommend that you update and see if the situation improves. If not, any further information you could provide (such as specific buttons causing problems) would be appreciated.
You can use a program such as
evtest
to monitor button presses on your controller. -
I installed it just today, so it's up to date I think.
I got a lot of random button press without touching anything :Exemple in 25s :
Testing ... (interrupt to exit) Event: time 1518638433.914937, type 3 (EV_ABS), code 0 (ABS_X), value 133 Event: time 1518638433.914937, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518638433.914937, type 3 (EV_ABS), code 2 (ABS_Z), value 124 Event: time 1518638433.914937, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518638433.914937, -------------- SYN_REPORT ------------ Event: time 1518638433.921678, type 3 (EV_ABS), code 0 (ABS_X), value 126 Event: time 1518638433.921678, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518638433.921678, type 3 (EV_ABS), code 2 (ABS_Z), value 133 Event: time 1518638433.921678, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518638433.921678, -------------- SYN_REPORT ------------ Event: time 1518638433.954201, type 3 (EV_ABS), code 5 (ABS_RZ), value 124 Event: time 1518638433.954201, -------------- SYN_REPORT ------------ Event: time 1518638450.121688, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518638450.121688, -------------- SYN_REPORT ------------ Event: time 1518638450.155507, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518638450.155507, -------------- SYN_REPORT ------------ Event: time 1518638450.793715, type 3 (EV_ABS), code 0 (ABS_X), value 125 Event: time 1518638450.793715, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518638450.793715, type 3 (EV_ABS), code 2 (ABS_Z), value 0 Event: time 1518638450.793715, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518638450.793715, -------------- SYN_REPORT ------------ Event: time 1518638450.797955, type 3 (EV_ABS), code 1 (ABS_Y), value 128 Event: time 1518638450.797955, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518638450.797955, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518638450.797955, -------------- SYN_REPORT ------------ Event: time 1518638450.830513, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518638450.830513, -------------- SYN_REPORT ------------ Event: time 1518638450.997973, type 3 (EV_ABS), code 2 (ABS_Z), value 133 Event: time 1518638450.997973, type 3 (EV_ABS), code 5 (ABS_RZ), value 124 Event: time 1518638450.997973, -------------- SYN_REPORT ------------ Event: time 1518638451.873738, type 3 (EV_ABS), code 0 (ABS_X), value 124 Event: time 1518638451.873738, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518638451.873738, type 3 (EV_ABS), code 2 (ABS_Z), value 0 Event: time 1518638451.873738, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518638451.873738, -------------- SYN_REPORT ------------ Event: time 1518638451.876727, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518638451.876727, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518638451.876727, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518638451.876727, -------------- SYN_REPORT ------------ Event: time 1518638451.909286, type 3 (EV_ABS), code 2 (ABS_Z), value 133 Event: time 1518638451.909286, -------------- SYN_REPORT ------------ Event: time 1518638451.953730, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518638451.953730, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518638451.953730, type 3 (EV_ABS), code 2 (ABS_Z), value 125 Event: time 1518638451.953730, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518638451.953730, -------------- SYN_REPORT ------------ Event: time 1518638451.986736, type 3 (EV_ABS), code 0 (ABS_X), value 126 Event: time 1518638451.986736, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518638451.986736, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518638451.986736, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518638451.986736, -------------- SYN_REPORT ------------ Event: time 1518638452.053726, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518638452.053726, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518638452.053726, type 3 (EV_ABS), code 2 (ABS_Z), value 125 Event: time 1518638452.053726, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518638452.053726, -------------- SYN_REPORT ------------ Event: time 1518638452.056753, type 3 (EV_ABS), code 0 (ABS_X), value 126 Event: time 1518638452.056753, type 3 (EV_ABS), code 1 (ABS_Y), value 128 Event: time 1518638452.056753, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518638452.056753, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518638452.056753, -------------- SYN_REPORT ------------ Event: time 1518638452.089285, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518638452.089285, -------------- SYN_REPORT ------------ Event: time 1518638452.123734, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518638452.123734, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518638452.123734, type 3 (EV_ABS), code 2 (ABS_Z), value 125 Event: time 1518638452.123734, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518638452.123734, -------------- SYN_REPORT ------------ Event: time 1518638452.259251, type 3 (EV_ABS), code 0 (ABS_X), value 126 Event: time 1518638452.259251, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518638452.259251, type 3 (EV_ABS), code 2 (ABS_Z), value 133 Event: time 1518638452.259251, type 3 (EV_ABS), code 5 (ABS_RZ), value 124 Event: time 1518638452.259251, -------------- SYN_REPORT ------------ ^C real 0m25.281s user 0m0.010s sys 0m0.000s
But as I said, I have a lot of errors in dmesg about hci0.
I read that people only get rid of this by using a BT key and not the native Pi3 BT chipset...
It also seems that 4.14 is around the corner according to rpi-update github, but I didn't see anything about BT... -
X/Y is the left analog stick and Z/RZ is the right. Does the evtest output always report this activity, or does it happen sporadically?
I have two official controllers (with different revision components inside), and neither has this issue.
Can you post the output from the beginning of evtest that shows the supported events and values? I've set a fuzz of 3 to match the older driver, as the analog sticks fluctuate between +/- a value of 1 for the resting position. Your output is very odd, however.
Can you also check your evtest output when connected via USB to see if the same happens? Make sure to disconnect from Bluetooth before plugging, as it may remain connected via BT when plugging the cable while already paired.
-
Sorry I'm back home.
Here are the requested :
Sixaxis USB connected :
pi@retropie:~/RetroPie-Setup $ time evtest No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event0: HORI CO.,LTD. Fighting Stick mini 4 /dev/input/event1: Sony PLAYSTATION(R)3 Controller Select the device event number [0-1]: 1 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0x54c product 0x268 version 0x8111 Input device name: "Sony PLAYSTATION(R)3 Controller" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 288 (BTN_TRIGGER) Event code 289 (BTN_THUMB) Event code 290 (BTN_THUMB2) Event code 291 (BTN_TOP) Event code 292 (BTN_TOP2) Event code 293 (BTN_PINKIE) Event code 294 (BTN_BASE) Event code 295 (BTN_BASE2) Event code 296 (BTN_BASE3) Event code 297 (BTN_BASE4) Event code 298 (BTN_BASE5) Event code 299 (BTN_BASE6) Event code 300 (?) Event code 301 (?) Event code 302 (?) Event code 303 (BTN_DEAD) Event code 704 (BTN_TRIGGER_HAPPY1) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event code 1 (ABS_Y) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event code 2 (ABS_Z) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event code 5 (ABS_RZ) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Event type 21 (EV_FF) Event code 80 (FF_RUMBLE) Event code 81 (FF_PERIODIC) Event code 88 (FF_SQUARE) Event code 89 (FF_TRIANGLE) Event code 90 (FF_SINE) Event code 96 (FF_GAIN) Properties: Testing ... (interrupt to exit) ^C real 0m57.535s user 0m0.000s sys 0m0.000s
Sixaxis BT connected :
pi@retropie:~/RetroPie-Setup $ time evtest No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event0: HORI CO.,LTD. Fighting Stick mini 4 /dev/input/event1: Sony PLAYSTATION(R)3 Controller Select the device event number [0-1]: 1 Input driver version is 1.0.1 Input device ID: bus 0x5 vendor 0x54c product 0x268 version 0x8000 Input device name: "Sony PLAYSTATION(R)3 Controller" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 288 (BTN_TRIGGER) Event code 289 (BTN_THUMB) Event code 290 (BTN_THUMB2) Event code 291 (BTN_TOP) Event code 292 (BTN_TOP2) Event code 293 (BTN_PINKIE) Event code 294 (BTN_BASE) Event code 295 (BTN_BASE2) Event code 296 (BTN_BASE3) Event code 297 (BTN_BASE4) Event code 298 (BTN_BASE5) Event code 299 (BTN_BASE6) Event code 300 (?) Event code 301 (?) Event code 302 (?) Event code 303 (BTN_DEAD) Event code 704 (BTN_TRIGGER_HAPPY1) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 121 Min 0 Max 255 Fuzz 3 Flat 15 Event code 1 (ABS_Y) Value 127 Min 0 Max 255 Fuzz 3 Flat 15 Event code 2 (ABS_Z) Value 134 Min 0 Max 255 Fuzz 3 Flat 15 Event code 5 (ABS_RZ) Value 125 Min 0 Max 255 Fuzz 3 Flat 15 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Event type 21 (EV_FF) Event code 80 (FF_RUMBLE) Event code 81 (FF_PERIODIC) Event code 88 (FF_SQUARE) Event code 89 (FF_TRIANGLE) Event code 90 (FF_SINE) Event code 96 (FF_GAIN) Properties: Testing ... (interrupt to exit) Event: time 1518718455.624169, type 3 (EV_ABS), code 0 (ABS_X), value 127 Event: time 1518718455.624169, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718455.624169, -------------- SYN_REPORT ------------ Event: time 1518718455.656757, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718455.656757, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718455.656757, -------------- SYN_REPORT ------------ Event: time 1518718455.756161, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518718455.756161, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718455.756161, type 3 (EV_ABS), code 2 (ABS_Z), value 125 Event: time 1518718455.756161, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518718455.756161, -------------- SYN_REPORT ------------ Event: time 1518718455.961739, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718455.961739, type 3 (EV_ABS), code 1 (ABS_Y), value 128 Event: time 1518718455.961739, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518718455.961739, type 3 (EV_ABS), code 5 (ABS_RZ), value 126 Event: time 1518718455.961739, -------------- SYN_REPORT ------------ Event: time 1518718455.994244, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718455.994244, -------------- SYN_REPORT ------------ Event: time 1518718456.119217, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518718456.119217, -------------- SYN_REPORT ------------ Event: time 1518718456.186158, type 3 (EV_ABS), code 0 (ABS_X), value 123 Event: time 1518718456.186158, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718456.186158, type 3 (EV_ABS), code 2 (ABS_Z), value 0 Event: time 1518718456.186158, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518718456.186158, -------------- SYN_REPORT ------------ Event: time 1518718456.219195, type 3 (EV_ABS), code 0 (ABS_X), value 122 Event: time 1518718456.219195, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718456.219195, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518718456.219195, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518718456.219195, -------------- SYN_REPORT ------------ Event: time 1518718456.354219, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718456.354219, -------------- SYN_REPORT ------------ Event: time 1518718456.524173, type 3 (EV_ABS), code 0 (ABS_X), value 128 Event: time 1518718456.524173, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718456.524173, -------------- SYN_REPORT ------------ Event: time 1518718456.556733, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718456.556733, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718456.556733, -------------- SYN_REPORT ------------ Event: time 1518718456.656176, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518718456.656176, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718456.656176, type 3 (EV_ABS), code 2 (ABS_Z), value 126 Event: time 1518718456.656176, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518718456.656176, -------------- SYN_REPORT ------------ Event: time 1518718456.659266, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718456.659266, type 3 (EV_ABS), code 1 (ABS_Y), value 128 Event: time 1518718456.659266, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518718456.659266, type 3 (EV_ABS), code 5 (ABS_RZ), value 126 Event: time 1518718456.659266, -------------- SYN_REPORT ------------ Event: time 1518718456.691728, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718456.691728, -------------- SYN_REPORT ------------ Event: time 1518718456.726143, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518718456.726143, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718456.726143, type 3 (EV_ABS), code 2 (ABS_Z), value 126 Event: time 1518718456.726143, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518718456.726143, -------------- SYN_REPORT ------------ Event: time 1518718456.759217, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718456.759217, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718456.759217, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518718456.759217, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518718456.759217, -------------- SYN_REPORT ------------ Event: time 1518718457.736192, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518718457.736192, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718457.736192, type 3 (EV_ABS), code 2 (ABS_Z), value 125 Event: time 1518718457.736192, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518718457.736192, -------------- SYN_REPORT ------------ Event: time 1518718457.741802, type 3 (EV_ABS), code 0 (ABS_X), value 122 Event: time 1518718457.741802, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718457.741802, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518718457.741802, type 3 (EV_ABS), code 5 (ABS_RZ), value 126 Event: time 1518718457.741802, -------------- SYN_REPORT ------------ Event: time 1518718457.771734, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718457.771734, -------------- SYN_REPORT ------------ Event: time 1518718457.804250, type 3 (EV_ABS), code 0 (ABS_X), value 127 Event: time 1518718457.804250, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718457.804250, -------------- SYN_REPORT ------------ Event: time 1518718457.807924, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718457.807924, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718457.807924, -------------- SYN_REPORT ------------ Event: time 1518718458.007967, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518718458.007967, -------------- SYN_REPORT ------------ Event: time 1518718459.796242, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518718459.796242, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718459.796242, type 3 (EV_ABS), code 2 (ABS_Z), value 126 Event: time 1518718459.796242, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518718459.796242, -------------- SYN_REPORT ------------ Event: time 1518718459.829234, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718459.829234, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718459.829234, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518718459.829234, type 3 (EV_ABS), code 5 (ABS_RZ), value 126 Event: time 1518718459.829234, -------------- SYN_REPORT ------------ Event: time 1518718459.864267, type 3 (EV_ABS), code 0 (ABS_X), value 127 Event: time 1518718459.864267, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718459.864267, -------------- SYN_REPORT ------------ Event: time 1518718459.896768, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718459.896768, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718459.896768, -------------- SYN_REPORT ------------ Event: time 1518718459.931763, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518718459.931763, -------------- SYN_REPORT ------------ Event: time 1518718459.966173, type 3 (EV_ABS), code 0 (ABS_X), value 134 Event: time 1518718459.966173, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718459.966173, type 3 (EV_ABS), code 2 (ABS_Z), value 125 Event: time 1518718459.966173, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518718459.966173, -------------- SYN_REPORT ------------ Event: time 1518718459.999256, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718459.999256, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718459.999256, type 3 (EV_ABS), code 2 (ABS_Z), value 134 Event: time 1518718459.999256, type 3 (EV_ABS), code 5 (ABS_RZ), value 125 Event: time 1518718459.999256, -------------- SYN_REPORT ------------ Event: time 1518718460.664234, type 3 (EV_ABS), code 0 (ABS_X), value 127 Event: time 1518718460.664234, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718460.664234, -------------- SYN_REPORT ------------ Event: time 1518718460.696760, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718460.696760, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718460.696760, -------------- SYN_REPORT ------------ Event: time 1518718460.864217, type 3 (EV_ABS), code 0 (ABS_X), value 127 Event: time 1518718460.864217, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518718460.864217, -------------- SYN_REPORT ------------ Event: time 1518718460.866705, type 3 (EV_ABS), code 0 (ABS_X), value 124 Event: time 1518718460.866705, type 3 (EV_ABS), code 1 (ABS_Y), value 127 Event: time 1518718460.866705, -------------- SYN_REPORT ------------ Event: time 1518718460.899264, type 3 (EV_ABS), code 0 (ABS_X), value 122 Event: time 1518718460.899264, -------------- SYN_REPORT ------------ Event: time 1518718460.966749, type 3 (EV_ABS), code 0 (ABS_X), value 121 Event: time 1518718460.966749, -------------- SYN_REPORT ------------ ^C real 0m33.483s user 0m0.000s sys 0m0.010s
I'll try the same with a Dualshock ASAP.
-
Here is the same test with an official DS3 controller :
With USB :
pi@retropie:~/RetroPie-Setup $ time evtest No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event0: HORI CO.,LTD. Fighting Stick mini 4 /dev/input/event1: Sony PLAYSTATION(R)3 Controller Select the device event number [0-1]: 1 Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0x54c product 0x268 version 0x8111 Input device name: "Sony PLAYSTATION(R)3 Controller" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 288 (BTN_TRIGGER) Event code 289 (BTN_THUMB) Event code 290 (BTN_THUMB2) Event code 291 (BTN_TOP) Event code 292 (BTN_TOP2) Event code 293 (BTN_PINKIE) Event code 294 (BTN_BASE) Event code 295 (BTN_BASE2) Event code 296 (BTN_BASE3) Event code 297 (BTN_BASE4) Event code 298 (BTN_BASE5) Event code 299 (BTN_BASE6) Event code 300 (?) Event code 301 (?) Event code 302 (?) Event code 303 (BTN_DEAD) Event code 704 (BTN_TRIGGER_HAPPY1) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event code 1 (ABS_Y) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event code 2 (ABS_Z) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event code 5 (ABS_RZ) Value 0 Min 0 Max 255 Fuzz 3 Flat 15 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Event type 21 (EV_FF) Event code 80 (FF_RUMBLE) Event code 81 (FF_PERIODIC) Event code 88 (FF_SQUARE) Event code 89 (FF_TRIANGLE) Event code 90 (FF_SINE) Event code 96 (FF_GAIN) Properties: Testing ... (interrupt to exit) ^C real 1m22.770s user 0m0.000s sys 0m0.000s
With BT :
pi@retropie:~/RetroPie-Setup $ time evtest No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event0: HORI CO.,LTD. Fighting Stick mini 4 /dev/input/event1: Sony PLAYSTATION(R)3 Controller Select the device event number [0-1]: 1 Input driver version is 1.0.1 Input device ID: bus 0x5 vendor 0x54c product 0x268 version 0x8000 Input device name: "Sony PLAYSTATION(R)3 Controller" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 288 (BTN_TRIGGER) Event code 289 (BTN_THUMB) Event code 290 (BTN_THUMB2) Event code 291 (BTN_TOP) Event code 292 (BTN_TOP2) Event code 293 (BTN_PINKIE) Event code 294 (BTN_BASE) Event code 295 (BTN_BASE2) Event code 296 (BTN_BASE3) Event code 297 (BTN_BASE4) Event code 298 (BTN_BASE5) Event code 299 (BTN_BASE6) Event code 300 (?) Event code 301 (?) Event code 302 (?) Event code 303 (BTN_DEAD) Event code 704 (BTN_TRIGGER_HAPPY1) Event type 3 (EV_ABS) Event code 0 (ABS_X) Value 128 Min 0 Max 255 Fuzz 3 Flat 15 Event code 1 (ABS_Y) Value 129 Min 0 Max 255 Fuzz 3 Flat 15 Event code 2 (ABS_Z) Value 130 Min 0 Max 255 Fuzz 3 Flat 15 Event code 5 (ABS_RZ) Value 130 Min 0 Max 255 Fuzz 3 Flat 15 Event type 4 (EV_MSC) Event code 4 (MSC_SCAN) Event type 21 (EV_FF) Event code 80 (FF_RUMBLE) Event code 81 (FF_PERIODIC) Event code 88 (FF_SQUARE) Event code 89 (FF_TRIANGLE) Event code 90 (FF_SINE) Event code 96 (FF_GAIN) Properties: Testing ... (interrupt to exit) Event: time 1518719674.237363, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719674.237363, -------------- SYN_REPORT ------------ Event: time 1518719674.269915, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719674.269915, -------------- SYN_REPORT ------------ Event: time 1518719674.677360, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719674.677360, -------------- SYN_REPORT ------------ Event: time 1518719674.709918, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719674.709918, -------------- SYN_REPORT ------------ Event: time 1518719674.809465, type 3 (EV_ABS), code 0 (ABS_X), value 129 Event: time 1518719674.809465, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719674.809465, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518719674.809465, -------------- SYN_REPORT ------------ Event: time 1518719674.812372, type 3 (EV_ABS), code 0 (ABS_X), value 128 Event: time 1518719674.812372, type 3 (EV_ABS), code 1 (ABS_Y), value 130 Event: time 1518719674.812372, type 3 (EV_ABS), code 5 (ABS_RZ), value 130 Event: time 1518719674.812372, -------------- SYN_REPORT ------------ Event: time 1518719674.844958, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719674.844958, -------------- SYN_REPORT ------------ Event: time 1518719674.879403, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719674.879403, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518719674.879403, -------------- SYN_REPORT ------------ Event: time 1518719674.912426, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719674.912426, type 3 (EV_ABS), code 5 (ABS_RZ), value 130 Event: time 1518719674.912426, -------------- SYN_REPORT ------------ Event: time 1518719675.249444, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719675.249444, type 3 (EV_ABS), code 2 (ABS_Z), value 0 Event: time 1518719675.249444, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518719675.249444, -------------- SYN_REPORT ------------ Event: time 1518719675.282450, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719675.282450, type 3 (EV_ABS), code 2 (ABS_Z), value 130 Event: time 1518719675.282450, type 3 (EV_ABS), code 5 (ABS_RZ), value 130 Event: time 1518719675.282450, -------------- SYN_REPORT ------------ Event: time 1518719675.349408, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719675.349408, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518719675.349408, -------------- SYN_REPORT ------------ Event: time 1518719675.352426, type 3 (EV_ABS), code 1 (ABS_Y), value 130 Event: time 1518719675.352426, type 3 (EV_ABS), code 5 (ABS_RZ), value 130 Event: time 1518719675.352426, -------------- SYN_REPORT ------------ Event: time 1518719675.384983, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719675.384983, -------------- SYN_REPORT ------------ Event: time 1518719675.419397, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719675.419397, type 3 (EV_ABS), code 2 (ABS_Z), value 0 Event: time 1518719675.419397, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518719675.419397, -------------- SYN_REPORT ------------ Event: time 1518719675.452456, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719675.452456, type 3 (EV_ABS), code 2 (ABS_Z), value 131 Event: time 1518719675.452456, type 3 (EV_ABS), code 5 (ABS_RZ), value 130 Event: time 1518719675.452456, -------------- SYN_REPORT ------------ Event: time 1518719675.484970, type 3 (EV_ABS), code 2 (ABS_Z), value 130 Event: time 1518719675.484970, -------------- SYN_REPORT ------------ Event: time 1518719677.217397, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719677.217397, -------------- SYN_REPORT ------------ Event: time 1518719677.219915, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719677.219915, -------------- SYN_REPORT ------------ Event: time 1518719677.769398, type 3 (EV_ABS), code 0 (ABS_X), value 129 Event: time 1518719677.769398, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719677.769398, type 3 (EV_ABS), code 5 (ABS_RZ), value 0 Event: time 1518719677.769398, -------------- SYN_REPORT ------------ Event: time 1518719677.802407, type 3 (EV_ABS), code 0 (ABS_X), value 128 Event: time 1518719677.802407, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719677.802407, type 3 (EV_ABS), code 5 (ABS_RZ), value 130 Event: time 1518719677.802407, -------------- SYN_REPORT ------------ Event: time 1518719677.837407, type 3 (EV_ABS), code 1 (ABS_Y), value 0 Event: time 1518719677.837407, -------------- SYN_REPORT ------------ Event: time 1518719677.869925, type 3 (EV_ABS), code 1 (ABS_Y), value 129 Event: time 1518719677.869925, -------------- SYN_REPORT ------------ ^C real 0m20.763s user 0m0.000s sys 0m0.010s
Same behavior : No unwanted input with USB, a lot through BT :(
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.