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