Fix type for physicalButton in wintabMouseToGhost.
Signed-off-by: Nicholas Rishel <rishel.nick@gmail.com>
This commit is contained in:
parent
a6e31482e9
commit
c4821079b7
|
@ -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};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue