Fixed the logic for the joystick hats.  Keyup events would fail to fire if a direction was let go sometimes.