- most WORD and SWORD are gone.
This commit is contained in:
parent
8ab562ef13
commit
ba0f5a3f94
84 changed files with 471 additions and 469 deletions
|
|
@ -1059,7 +1059,7 @@ bool FWin32Mouse::WndProcHook(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||
// a single message. Winuser.h describes the button field as being filled with
|
||||
// flags, which suggests that it could merge them. My testing
|
||||
// indicates it does not, but I will assume it might in the future.
|
||||
WORD xbuttons = GET_XBUTTON_WPARAM(wParam);
|
||||
auto xbuttons = GET_XBUTTON_WPARAM(wParam);
|
||||
event_t ev = { 0 };
|
||||
|
||||
ev.type = (message == WM_XBUTTONDOWN) ? EV_KeyDown : EV_KeyUp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue