Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
845f101b
Commit
845f101b
authored
Aug 14, 2015
by
Jan Holthuis
Browse files
linux-dist: Add DPad support for xpad kernel driver (XBox 360)
parent
5fe98037
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/linux-dist/main.cpp
View file @
845f101b
...
...
@@ -198,6 +198,10 @@ static int evdev_fd = -1;
case
BTN_X
:
keys
[
8
]
=
ie
.
value
;
break
;
case
BTN_SELECT
:
keys
[
9
]
=
ie
.
value
;
break
;
case
BTN_START
:
keys
[
12
]
=
ie
.
value
;
break
;
case
BTN_TRIGGER_HAPPY1
:
keys
[
3
]
=
ie
.
value
;
break
;
case
BTN_TRIGGER_HAPPY2
:
keys
[
4
]
=
ie
.
value
;
break
;
case
BTN_TRIGGER_HAPPY3
:
keys
[
1
]
=
ie
.
value
;
break
;
case
BTN_TRIGGER_HAPPY4
:
keys
[
2
]
=
ie
.
value
;
break
;
#if defined(TARGET_GCW0)
case
KEY_Y
:
keys
[
5
]
=
ie
.
value
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment