Fix type for physicalButton in wintabMouseToGhost.

Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
This commit is contained in:
Nicholas Rishel 2020-05-23 16:17:03 -07:00
parent a6e31482e9
commit c4821079b7
2 changed files with 3 additions and 3 deletions

View File

@ -1252,10 +1252,10 @@ void GHOST_WindowWin32::processWintabInfoChangeEvent(LPARAM lParam)
}
GHOST_TSuccess GHOST_WindowWin32::wintabMouseToGhost(UINT cursor,
DWORD physicalButton,
WORD physicalButton,
GHOST_TButtonMask &ghostButton)
{
const DWORD numButtons = 32;
const WORD numButtons = 32;
BYTE logicalButtons[numButtons] = {0};
BYTE systemButtons[numButtons] = {0};

View File

@ -633,7 +633,7 @@ class GHOST_WindowWin32 : public GHOST_Window {
* Convert Wintab system mapped (mouse) buttons into Ghost button mask
*/
GHOST_TSuccess wintabMouseToGhost(UINT cursor,
DWORD physicalButton,
WORD physicalButton,
GHOST_TButtonMask &buttonMask);
GHOST_TWindowState m_normal_state;