Skip to content
Permalink
Browse files

*** empty log message ***

  • Loading branch information
slouken committed May 29, 2003
1 parent c606d73 commit 7eadf5253df0afb1dd72970cd19f1b531c524f21
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/joystick/darwin/SDL_sysjoystick.c
@@ -739,12 +739,14 @@ void SDL_SYS_JoystickUpdate(SDL_Joystick *joystick)
while (element)
{
value = HIDGetElementValue(device, element);
if (value > 1) /* handle pressure-sensitive buttons */
value = 1;
if ( value != joystick->buttons[i] )
SDL_PrivateJoystickButton(joystick, i, value);
element = element->pNext;
++i;
}

element = device->firstHat;
i = 0;
while (element)

0 comments on commit 7eadf52

Please sign in to comment.