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