Finalize session input policy host sync
This commit is contained in:
parent
9e52a4200b
commit
7e9a4add09
5 changed files with 81 additions and 3 deletions
|
|
@ -293,6 +293,15 @@ void SdlInputHandler::raiseAllKeys()
|
|||
m_KeysDown.clear();
|
||||
}
|
||||
|
||||
void SdlInputHandler::raiseAllMouseButtons()
|
||||
{
|
||||
LiSendMouseButtonEvent(BUTTON_ACTION_RELEASE, BUTTON_LEFT);
|
||||
LiSendMouseButtonEvent(BUTTON_ACTION_RELEASE, BUTTON_MIDDLE);
|
||||
LiSendMouseButtonEvent(BUTTON_ACTION_RELEASE, BUTTON_RIGHT);
|
||||
LiSendMouseButtonEvent(BUTTON_ACTION_RELEASE, BUTTON_X1);
|
||||
LiSendMouseButtonEvent(BUTTON_ACTION_RELEASE, BUTTON_X2);
|
||||
}
|
||||
|
||||
void SdlInputHandler::notifyMouseLeave()
|
||||
{
|
||||
// SDL on Windows doesn't send the mouse button up until the mouse re-enters the window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue