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
b9864c1f
Commit
b9864c1f
authored
Nov 19, 2012
by
Matthias Krebs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed syntax for Windows. Fertig!
3DMouse working on Windows and Ubuntu
parent
d1f6bed3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Mouse6dofInput.cpp
src/input/Mouse6dofInput.cpp
+1
-1
MainWindow.h
src/ui/MainWindow.h
+2
-0
No files found.
src/input/Mouse6dofInput.cpp
View file @
b9864c1f
...
...
@@ -237,7 +237,7 @@ void Mouse6dofInput::button3DMouseDown(int button)
case
2
:
{
translationActive
=
!
translationActive
;
emit
mouseTranslation
Enabled
Changed
(
translationActive
);
emit
mouseTranslation
Active
Changed
(
translationActive
);
qDebug
()
<<
"Changed 3DMouse Translation to"
<<
(
bool
)
translationActive
;
break
;
}
...
...
src/ui/MainWindow.h
View file @
b9864c1f
...
...
@@ -235,8 +235,10 @@ public slots:
signals:
void
initStatusChanged
(
const
QString
&
message
);
#ifdef MOUSE_ENABLED_LINUX
/** @brief Forward X11Event to catch 3DMouse inputs */
void
x11EventOccured
(
XEvent
*
event
);
#endif //MOUSE_ENABLED_LINUX
public:
QGCMAVLinkLogPlayer
*
getLogPlayer
()
...
...
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