key.go 334 B

12345678910111213
  1. package glfw
  2. // Action represents the change of state of a key or mouse button event
  3. type action int
  4. const (
  5. // Release Keyboard button was released
  6. release action = 0
  7. // Press Keyboard button was pressed
  8. press action = 1
  9. // Repeat Keyboard button was hold pressed for long enough that it trigger a repeat
  10. repeat action = 2
  11. )