mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
app,io/key: introduce keys for directional navigation
This change adds key.NameUp/Down/Left/Right and maps the Android TV remote directional keys to them. As a side-effect a key.InputOp can now receive directional keys (and block their focus movement). Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -219,6 +219,10 @@ const (
|
||||
NameF10 = "F10"
|
||||
NameF11 = "F11"
|
||||
NameF12 = "F12"
|
||||
NameUp = "Up"
|
||||
NameDown = "Down"
|
||||
NameLeft = "Left"
|
||||
NameRight = "Right"
|
||||
)
|
||||
|
||||
// Contain reports whether m contains all modifiers
|
||||
|
||||
Reference in New Issue
Block a user