Elias Naur
a11f35fe0d
io/key,io/input: [API] move FocusDirection to package io/key
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2024-02-05 10:59:51 +00:00
Elias Naur
6027517949
io/input: [API] introduce Source, the interface between a Router and widgets
...
This change gets rid of the event.Queue interface by replacing it with
input.Source values. Source provides the interface to Router necessary
to implement interface widgets.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2024-02-05 10:59:51 +00:00
Elias Naur
c319f3c214
io/input: remove dependency on package gesture
...
This change is required to to replace event.Queue with a concrete
input.Source.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2024-02-05 10:59:51 +00:00
Elias Naur
d5a0d2cf60
io/input,io/router: [API] rename package io/router to io/input
...
The input name better matches its purpose, in particular when we
introduce input.Source.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2024-02-05 10:59:51 +00:00