Add Xbone S controller mappings

This commit is contained in:
grizeldi 2017-04-26 17:52:15 +02:00 committed by GitHub
parent bfbb0d61ea
commit ddfa728d60

View File

@ -149,6 +149,25 @@ XBOX\ 360\ For\ Windows\ (Controller).ry=rz
# keeps it from confusing the .rx mapping. # keeps it from confusing the .rx mapping.
XBOX\ 360\ For\ Windows\ (Controller).z=trigger XBOX\ 360\ For\ Windows\ (Controller).z=trigger
#Xbox One S controller
Microsoft\ X-Box\ One\ S\ pad.0=2
Microsoft\ X-Box\ One\ S\ pad.1=1
Microsoft\ X-Box\ One\ S\ pad.2=3
Microsoft\ X-Box\ One\ S\ pad.3=0
Microsoft\ X-Box\ One\ S\ pad.6=8
Microsoft\ X-Box\ One\ S\ pad.7=9
Microsoft\ X-Box\ One\ S\ pad.8=10
Microsoft\ X-Box\ One\ S\ pad.9=11
Microsoft\ X-Box\ One\ S\ pad.rx=z
Microsoft\ X-Box\ One\ S\ pad.ry=rz
# requires custom code to support trigger buttons but this
# keeps it from confusing the .rx mapping.
Microsoft\ X-Box\ One\ S\ pad.z=trigger
# from : Freebox controller as "DragonRise Inc. Generic USB Joystick" # from : Freebox controller as "DragonRise Inc. Generic USB Joystick"
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.x=rx DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.x=rx
DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.y=ry DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.y=ry