Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
be4a4f87
Commit
be4a4f87
authored
Jan 31, 2017
by
Jacob Walser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace
parent
d5d238e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
JoystickManager.cc
src/Joystick/JoystickManager.cc
+4
-4
No files found.
src/Joystick/JoystickManager.cc
View file @
be4a4f87
...
...
@@ -48,7 +48,7 @@ JoystickManager::~JoystickManager() {
void
JoystickManager
::
setToolbox
(
QGCToolbox
*
toolbox
)
{
QGCTool
::
setToolbox
(
toolbox
);
QGCTool
::
setToolbox
(
toolbox
);
_multiVehicleManager
=
_toolbox
->
multiVehicleManager
();
...
...
@@ -108,7 +108,7 @@ void JoystickManager::_setActiveJoystickFromSettings(void)
setActiveJoystick
(
NULL
);
return
;
}
QSettings
settings
;
settings
.
beginGroup
(
_settingsGroup
);
...
...
@@ -193,7 +193,7 @@ void JoystickManager::_updateAvailableJoysticks(void)
#ifdef __sdljoystick__
SDL_Event
event
;
while
(
SDL_PollEvent
(
&
event
))
{
switch
(
event
.
type
)
{
switch
(
event
.
type
)
{
case
SDL_QUIT
:
qCDebug
(
JoystickManagerLog
)
<<
"SDL ERROR:"
<<
SDL_GetError
();
break
;
...
...
@@ -205,7 +205,7 @@ void JoystickManager::_updateAvailableJoysticks(void)
qCDebug
(
JoystickManagerLog
)
<<
"Joystick removed:"
<<
event
.
jdevice
.
which
;
_setActiveJoystickFromSettings
();
break
;
default:
default:
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