Added support for double-clicks, through a new "clicks" field in the mouse button event.
This commit is contained in:
parent
a78645c99d
commit
11fc41fde2
5 changed files with 75 additions and 5 deletions
|
@ -250,6 +250,8 @@ WIN_InitMouse(_THIS)
|
|||
mouse->SetRelativeMouseMode = WIN_SetRelativeMouseMode;
|
||||
|
||||
SDL_SetDefaultCursor(WIN_CreateDefaultCursor());
|
||||
|
||||
SDL_SetDoubleClickTime(GetDoubleClickTime());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue