path: root/plugin
Commit message (Collapse)AuthorAgeFilesLines
* Add demo page with a map and POIs, navigated with a GamepadAntti Hölttä2019-03-181-8/+0
* Simplified the 4 way algorithmAntti Hölttä2019-03-182-52/+24
* cursor trapping and navigation out of a scope works now as intendedAntti Hölttä2019-03-183-4/+29
| | | | | | done by precopying the list of candidates. Could avoid extra list copies if the algorithm traversed the tree, but this is simpler and works for now
* When following focus, set cursor only on items that accept itAntti Hölttä2019-03-181-1/+1
* Cursor now movable only to items that set the acceptsCursor value to trueAntti Hölttä2019-03-182-21/+42
* Add find-functionAntti Hölttä2019-03-186-22/+60
| | | | | | 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
* Bugfixes to 360 algorithm, added cooldown for gamepad controlAntti Hölttä2019-03-183-44/+17
| | | | | Joystick produce change events very rapidly and continuously, so a cooldown time is needed so that the cursor wont jump over multiple items
* Add 360 algorithmAntti Hölttä2019-03-1811-110/+415
| | | | | Add algorithm that allows navigation to any direction. Works somewhat well now. Example app has a page with a gamepad/stick support.
* CursorNavigationAttached now implements the control interfaceAntti Hölttä2019-03-185-12/+77
| | | | | | CursorNavigationAttached now implements the functions for moving the cursor and for giving commands. This makes it possible to reassign the control keys, or use other input sources as well
* More on scopes, works to some extent in the test programAntti Hölttä2019-03-1810-121/+150
| | | | | Scope may be entered and escaped. Navigable items may have escape targets defined
* Refactor item registration with scopes in mindAntti Hölttä2019-03-1810-67/+148
| | | | | ItemRegister class removed and items now keep track of their own cursor navigable child items. Navigation happens now only between siblings.
* Bind cursor presence to the current active focusAntti Hölttä2019-03-182-15/+41
* Initial commit, demoable pocAntti Hölttä2019-03-1818-0/+797
Sort of working with 4 dir navigation, check demoapp