Add proper and reliable (i hope) support for modifier keys

This commit is contained in:
Sasha Koshka
2022-11-22 00:21:35 -05:00
parent 8c28c57925
commit ae514f5ae2
8 changed files with 38 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ func main () {
if err != nil { panic(err) }
}
func onPress (button stone.Button) {
func onPress (button stone.Button, modifiers stone.Modifiers) {
println("press", button)
}