Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
b99ab5d8
Commit
b99ab5d8
authored
Mar 28, 2014
by
Robert Menzel
Browse files
added OSX name, but might not work on OSX
parent
a0311cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ACGL/HardwareSupport/GamePad.cc
View file @
b99ab5d8
...
...
@@ -123,7 +123,8 @@ GamePad::GamePad( int _n )
}
if
(
mGamePadOK
)
{
if
(
mJoystickName
==
"Sony PLAYSTATION(R)3 Controller"
)
{
// Linux name MacOS X name
if
((
mJoystickName
==
"Sony PLAYSTATION(R)3 Controller"
)
||
(
mJoystickName
==
"PLAYSTATION(R)3 Controller"
))
{
setButtonMapping
(
SELECT
,
0
);
setButtonMapping
(
START
,
3
);
setButtonMapping
(
LEFT_PAD_NORTH
,
4
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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