mirror of
https://github.com/encounter/SDL.git
synced 2025-12-18 09:25:29 +00:00
Added hints SDL_HINT_MOUSE_DOUBLE_CLICK_TIME and SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to allow tuning double-click sensitivity.
Also increased the default double-click radius to 32 pixels to be more forgiving for touch interfaces
This commit is contained in:
@@ -304,8 +304,6 @@ WIN_InitMouse(_THIS)
|
||||
mouse->GetGlobalMouseState = WIN_GetGlobalMouseState;
|
||||
|
||||
SDL_SetDefaultCursor(WIN_CreateDefaultCursor());
|
||||
|
||||
SDL_SetDoubleClickTime(GetDoubleClickTime());
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user