SDL/src/video
Sam Lantinga 6e67c949c1 Fixed bug 2054 - SDL_GetError: "Unknown touch device"
Volumetric

The "Unknown touch device" message appears because the initial touch device setup loop uses SDL_GetTouch() as a guard for calling SDL_AddTouch().  SDL_GetTouch() will always report "Unknown touch device" since the device hasn't been added yet.  The SDL_GetTouch() call is unnecessary since SDL_AddTouch() calls SDL_GetTouchIndex() to verify that the device hasn't been added yet, and SDL_GetTouchIndex() has the benefit of not reporting an error for a device it can't find.
2015-05-28 12:55:01 -07:00
..
android Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
cocoa Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
directfb Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
dummy Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
emscripten Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
haiku Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
mir Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
nacl Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
pandora Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
psp Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
raspberry Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
uikit Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
vivante Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
wayland Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
windows Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
winrt Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
x11 Fixed bug 2054 - SDL_GetError: "Unknown touch device" 2015-05-28 12:55:01 -07:00
SDL_blit.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_0.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_1.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_A.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_auto.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_auto.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_copy.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_copy.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_N.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_slow.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_blit_slow.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_bmp.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_clipboard.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_egl.c EGL: OpenGL ES 3.0 contexts can now be created without the EGL_KHR_create_context extension. 2015-05-26 19:34:56 -03:00
SDL_egl_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_fillrect.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_pixels.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_pixels_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_rect.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_rect_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_RLEaccel.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_RLEaccel_c.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_shape.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_shape_internals.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_stretch.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_surface.c Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_sysvideo.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_video.c Reset the keyboard state when launching a message box (thanks, Sean!). 2015-05-26 20:49:27 -04:00
sdlgenblit.pl Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00