aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/inputtypes.h
diff options
context:
space:
mode:
authorAntti Hölttä <AHoelttae@luxoft.com>2019-03-13 13:09:48 +0100
committerAntti Hölttä <AHoelttae@luxoft.com>2019-03-18 16:43:04 +0100
commitb0de855379a9242d74353dfd66677d4b1b5dbcec (patch)
treea74841c8cdfb339a30e6a1c25133b0c26adb5f57 /plugin/inputtypes.h
parent00a273acef3cb084e7a9725c9ecc60c3aa3556da (diff)
Little fixes and cleanup, TODOs
Explained some TODOs a bit better. Fixed mismatching tab titles in demo app. Removed unused predefined CursorNavigationCommands.
Diffstat (limited to 'plugin/inputtypes.h')
-rw-r--r--plugin/inputtypes.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/plugin/inputtypes.h b/plugin/inputtypes.h
index 9de40a4..53698fa 100644
--- a/plugin/inputtypes.h
+++ b/plugin/inputtypes.h
@@ -29,11 +29,6 @@ struct CursorNavigationCommand
qreal angleTolerance; //0 to pi
Action action;
- static const CursorNavigationCommand Up;
- static const CursorNavigationCommand Down;
- static const CursorNavigationCommand Left;
- static const CursorNavigationCommand Right;
-
//test if given angle is between given sector. sector defined clockwise from begin to end
static bool angleIsBetween(qreal angle, qreal begin, qreal end);
@@ -42,9 +37,10 @@ struct CursorNavigationCommand
};
-/*feedback datatype returned for commands, describing command results
- *this could be used for example to indicate that a end of a list has been reached,
- *that might produce force feedback on certain inut devices
+/* TODO feedback
+ * feedback datatype returned for commands, describing command results
+ * this could be used for example to indicate that a end of a list has been reached,
+ * that might produce force feedback on certain inut devices
*/
enum CommandResult
{