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