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