The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
xbox360Mapping
arsd
joystick
If you have a real xbox 360 controller, use this mapping
version(linux && xbox_style)
static immutable
auto
xbox360Mapping
=
JoystickMapping
([
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
], [
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
])
;
Meta
Source
See Source File
arsd
joystick
functions
closeJoysticks
enableJoystickInput
getJoystickUpdate
readJoystickEvents
static variables
ps1Mapping
xbox360Mapping
structs
JoystickUpdate
Suggestion Box / Bug Report
If you have a real xbox 360 controller, use this mapping