adam-gui/vendor/fyne.io/fyne/v2/internal/driver/glfw/key.go

14 lines
334 B
Go
Raw Permalink Normal View History

2024-04-29 19:13:50 +02:00
package glfw
// Action represents the change of state of a key or mouse button event
type action int
const (
// Release Keyboard button was released
release action = 0
// Press Keyboard button was pressed
press action = 1
// Repeat Keyboard button was hold pressed for long enough that it trigger a repeat
repeat action = 2
)