aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/inputadapter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add license and copyright informationAntti Hölttä2019-03-191-0/+39
|
* Add callbacks for magnitude, moves and actionsAntti Hölttä2019-03-181-28/+8
| | | | | | | | | When cursor is moved, the current item is informed of the actions via callbacks. Eg. when cursor is moved up, the item that had the cursor will have its movedUp signal fired. It is now also possible to inform navigable items over incomplete movement, or the magnitude of the movement. This may be used eg. to make buttons or elements to flip/rotate to indicate that the cursor is about to be moved.
* Add find-functionAntti Hölttä2019-03-181-1/+1
| | | | | | find-function is similar to the move, but instead of moving the cursor, it returns the item that cursor would move to if move was called with the same arguments
* Add 360 algorithmAntti Hölttä2019-03-181-9/+9
| | | | | Add algorithm that allows navigation to any direction. Works somewhat well now. Example app has a page with a gamepad/stick support.
* More on scopes, works to some extent in the test programAntti Hölttä2019-03-181-2/+2
| | | | | Scope may be entered and escaped. Navigable items may have escape targets defined
* Initial commit, demoable pocAntti Hölttä2019-03-181-0/+83
Sort of working with 4 dir navigation, check demoapp