app,io/key,io/system: [API] replace system.CommandEvent with key.Event

It's much simpler to map the Android back button to a key.Event and
let the usual key filtering determine whether to block its default
behaviour.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2022-04-14 17:45:04 +02:00
parent ad7c1eb78d
commit 6c76fa6dec
5 changed files with 20 additions and 37 deletions
+1
View File
@@ -223,6 +223,7 @@ const (
NameDown = "Down"
NameLeft = "Left"
NameRight = "Right"
NameBack = "Back"
)
// Contain reports whether m contains all modifiers