HatRight
>Psychtoolbox>PsychHardware>PsychGamepad
result = HatRight
Return a constant for hat right position. To read a hat position, use:
JOYSTICK(joystickNumber,’GetHat’,hatNumber).
Path Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychHardware/PsychGamepad/HatRight.m