Browse Source

Added a FIXME.

Ryan C. Gordon 11 năm trước cách đây
mục cha
commit
754067db7e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/joystick/windows/SDL_dxjoystick.c

+ 1 - 0
src/joystick/windows/SDL_dxjoystick.c

@@ -1524,6 +1524,7 @@ TranslatePOV(DWORD value)
 
 /* SDL_PrivateJoystick* doesn't discard duplicate events, so we need to
  * do it. */
+/* !!! FIXME: SDL_PrivateJoystickAxis _does_ discard duplicate events now. Ditch this code. */
 static int
 SDL_PrivateJoystickAxis_Int(SDL_Joystick * joystick, Uint8 axis, Sint16 value)
 {