Commit Graph

7 Commits

Author SHA1 Message Date
Elias Naur 3944ef4b2e ui: merge package input
Event handling is as fundamental as operations, so move the input
package declarations to package ui.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-09-24 22:24:10 +02:00
Elias Naur e6f0e0582d ui/gesture,ui/internal/fling: extract fling logic into its own package
We're going to re-use fling extrapolation and animation for Wayland touchpads.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-09-13 18:35:38 +02:00
Elias Naur 8700a8ffc3 ui/key,ui/pointer: rename HandlerOp to InputOp
"Input" is more specific and reads better than "handler".

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-08-26 18:07:48 +01:00
Elias Naur a6483a421f ui/gesture: replace Click.Events with Click.Next
Everything else was converted to use the Next
style event API, but Click was forgotten.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-08-22 17:16:06 +02:00
Elias Naur 5c3dcc6f9a ui/gesture: typo
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-08-11 18:57:12 +02:00
Elias Naur 40091c5918 ui/gesture: add Scroll.State method
And move Click.State to a method.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-08-11 18:18:27 +02:00
Elias Naur 5d28f9e690 ui/gesture: add documentation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2019-08-11 18:02:48 +02:00