function result = HatCenter
% result = HatCenter
% Return a constant for hat center position.  To read a hat position, use:
% JOYSTICK(joystickNumber,'GetHat',hatNumber).  

% 8/17/01   awi wrote it
% 7/21/03   awi added switch and OSX condition.
% 10/6/05   awi Note here cosmetic changes by dgp between 7/21/03 and 10/6/05

if isOS9 
	result = 0;
elseif isOSX 
	result = 0;
end
