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