Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acgl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACGL
acgl
Commits
cc17a2a6
Commit
cc17a2a6
authored
Aug 12, 2013
by
Robert Menzel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up
parent
2cceec76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
include/ACGL/HardwareSupport/GamePad.hh
include/ACGL/HardwareSupport/GamePad.hh
+1
-9
No files found.
include/ACGL/HardwareSupport/GamePad.hh
View file @
cc17a2a6
...
...
@@ -50,13 +50,8 @@ public:
RIGHT_ANALOG_STICK_X
=
4
,
// -1..1 aka left-right
RIGHT_ANALOG_STICK_Y
=
5
,
// -1..1 aka up-down / front-back
LEFT_ANALOG_STICK_X_INVERSE
=
6
,
// 1..-1
LEFT_ANALOG_STICK_Y_INVERSE
=
7
,
// 1..-1
RIGHT_ANALOG_STICK_X_INVERSE
=
8
,
// 1..-1
RIGHT_ANALOG_STICK_Y_INVERSE
=
9
,
// 1..-1
// number of elements in this enum (itself not included):
GAMEPAD_AXIS_ENUM_SIZE
=
10
GAMEPAD_AXIS_ENUM_SIZE
=
6
};
...
...
@@ -81,9 +76,6 @@ public:
//! true if the button was just pressed or released
bool
buttonStateChanged
(
GamePadButton
_button
);
//! true if the axis is >
//bool isPressed( GamePadAxis _axis );
//! define the mapping of one button
void
setButtonMapping
(
GamePadButton
_button
,
unsigned
int
_rawButtonNumber
);
...
...
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