Class | Rubygame::JoyHatEvent |
In: |
lib/rubygame/event.rb
lib/rubygame/event.rb |
Parent: | Event |
Indicates that a Joystick POV hat was moved.
This event has these attributes:
joynum: | the identifier number of the affected Joystick. | ||||||||||||||||||
hat: | the identifier number of the hat. | ||||||||||||||||||
value: | the new direction of the hat, one of
these constants in module Rubygame (or the
corresponding number):
|
hat | [RW] | |
hat | [RW] | |
joynum | [RW] | |
joynum | [RW] | |
value | [RW] | |
value | [RW] |