From b0de855379a9242d74353dfd66677d4b1b5dbcec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20H=C3=B6ltt=C3=A4?= Date: Wed, 13 Mar 2019 13:09:48 +0100 Subject: Little fixes and cleanup, TODOs Explained some TODOs a bit better. Fixed mismatching tab titles in demo app. Removed unused predefined CursorNavigationCommands. --- plugin/inputtypes.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'plugin/inputtypes.h') 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 { -- cgit v1.2.3