Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong mapping for Select Button and Xbox Button on Xbox One Controller #675

Closed
Fabiosilvero opened this issue Jul 22, 2018 · 5 comments
Closed

Comments

@Fabiosilvero
Copy link

Fabiosilvero commented Jul 22, 2018

Hello,

NVidia Geforce Experience version: GFE 3.12.0.84
Moonlight Embedded version: Moonlight Embedded 2.4.6
Moonlight Embedded source: From deb http://archive.itimmer.nl/raspbian/moonlight stretch main
Moonlight Embedded running on: _Raspberry Pi
Moonlight Embedded running on distribution: Raspbian Stretch up-to-date

Verbose output -verbose of Moonlight Embedded:

$ ml -verbose
Moonlight Embedded 2.4.6 (PI;ALSA;EMBEDDED)
Searching for server...
Connect to dest_host
NVIDIA GeForce GTX 1050 Ti, GFE 3.12.0.84 (gs_04_04_23287129, 7.1.404.0)
Platform Raspberry Pi (Broadcom)
Loading mappingfile /usr/share/moonlight/gamecontrollerdb.txt
Detected Microsoft Corporation Gamepad (050000005e040000fd02000003090000) on /dev/input/event0 as Xbox One Wireless Controller
Detected PLAYSTATION(R)3 Controller (060000004c0500006802000000010000) on /dev/input/event2 as PS3 Controller (Bluetooth)
Mapping for PLAYSTATION(R)3 Controller (060000004c0500006802000000010000) on /dev/input/event2 is incorrect
Stream 1920 x 1080, 30 fps, 12000 kbps
Initializing platform...done
Resolving host name...done
Starting RTSP handshake...done
Initializing control stream...done
Initializing video stream...done
Initializing audio stream...done
Initializing input stream...done
Starting control stream...done
Starting video stream...done
Starting audio stream...done
Starting input stream...done
Stopping input stream...done
Stopping audio stream...ENet wait interrupted
Control stream connection failed
Loss Stats: Transaction failed: 11
done
Stopping video stream...done
Stopping control stream...done
Cleaning up input stream...done
Cleaning up audio stream...done
Cleaning up video stream...done
Cleaning up control stream...done
Cleaning up platform...done

What is the expected result?
Select button for Xbox One Controller working as a Select Button in Bluetooth
(Works fine in USB)

What happens instead of that?
Select Button act as a D-Hat Up Button in every game (CEMU, FFXV...).
Xbox Button has the same behavior.

On another distro (Retropie), the two buttons are detected correctly (BTN 15 and 16), that's why I opened this issue here :)

Others buttons work fine tho.

Here's the mapping for the Xbox One Controller from gamecontroller.db :

050000005e040000fd02000003090000,Xbox One Wireless Controller,a:b0,b:b1,back:b15,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dp
up:h0.1,guide:b16,leftshoulder:b6,leftstick:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:a4,rightx:a2,righty:a3,start:b11,x:b3,y:b4,

Update 29/07/2018 : it seems that the Xbox One Controller sends out of range commands when pressing the SELECT and HOME button (with jstest). The range stops at B14. The two buttons are well recognized with evtest.

@Fabiosilvero Fabiosilvero changed the title Wrong mapping for Select Button on Xbox One Controller Wrong mapping for Select Button and Xbox Button on Xbox One Controller Jul 22, 2018
@ziotidus
Copy link

ziotidus commented Aug 2, 2018

Hi i've the same problem with the PS3 controller:

  • Mapping for PLAYSTATION(R)3 Controller (060000004c0500006802000000010000) on /dev/input/event2 is incorrect
    And the joypad don't function in Steam Big Picture.. do you have any fix?
    Same for the Xbox One controller... but i don't see it in the start log as you "Detected Microsoft Corporation Gamepad (050000005e040000fd02000003090000) on /dev/input/event0 as Xbox One Wireless Controller"

@Spa1ner
Copy link

Spa1ner commented Aug 3, 2018

Also I have the same problem,

  • Mapping for PLAYSTATION(R)3 Controller (060000004c0500006802000000010000) on /dev/input/event2 is incorrect

Should be a guide how to, there are so many problems with the controllers. I dont know what I have to do.

@pokemonw2
Copy link

Anyone found a solution to this issue?
I also have a xbox one s wireless controller which moonlight doesnt interface well with the home and select button. Both of them register as an "up" in steam big picture.

@El-Psy-Cangroo
Copy link

Same issue with my xbox one s controller on my RPI3(retropie).

@TheUntouchable
Copy link

TheUntouchable commented Oct 20, 2018

Same problem here with RPI3 / Raspbian and XBOX One Controller (Bluetooth). The old XBOX Controller with the dongle is working with the xboxdrv without any problems..

moonlight stream 192.168.1.100 -verbose

Moonlight Embedded 2.4.7 (PI;ALSA;EMBEDDED)
Connect to 192.168.1.100...
NVIDIA GeForce GTX 980 Ti, GFE 3.15.0.186 (gs_04_09_24784787, 7.1.409.0)
Platform Raspberry Pi (Broadcom)
Loading mappingfile /usr/share/moonlight/gamecontrollerdb.txt
Can't map (dpdown:+a1)
Can't map (dpleft:-a0)
Can't map (dpright:+a0)
Can't map (dpup:-a1)
Can't map (dpdown:+a1)
Can't map (dpleft:-a0)
Can't map (dpright:+a0)
Can't map (dpup:-a1)
Can't map (dpdown:+a1)
Can't map (dpleft:-a0)
Can't map (dpright:+a0)
Can't map (dpup:-a1)
Can't map (dpdown:+a1)
Can't map (dpleft:-a0)
Can't map (dpright:+a0)
Can't map (dpup:-a1)
Can't map (lefttrigger:+a3)
Can't map (righttrigger:-a3)
Can't map (dpdown:+a1)
Can't map (dpleft:-a0)
Can't map (dpright:+a0)
Can't map (dpup:-a1)
Can't map (dpdown:+a1)
Can't map (dpleft:-a0)
Can't map (dpright:+a0)
Can't map (dpup:-a1)
Detected Xbox Wireless Controller (050000005e040000fd02000003090000) on /dev/input/event2 as Xbox One Wireless Controller
Detected Xbox Gamepad (userspace driver) (0000000058626f782047616d65706100) on /dev/input/event1 as Xbox Gamepad (userspace driver)

@cgutman cgutman closed this as completed in 4b41692 Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants