Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/intern/GHOST_Wintab.h')
-rw-r--r--intern/ghost/intern/GHOST_Wintab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_Wintab.h b/intern/ghost/intern/GHOST_Wintab.h
index 80eacf1f3fa..565aeb6ca02 100644
--- a/intern/ghost/intern/GHOST_Wintab.h
+++ b/intern/ghost/intern/GHOST_Wintab.h
@@ -54,7 +54,7 @@ struct GHOST_WintabInfoWin32 {
int32_t x = 0;
int32_t y = 0;
GHOST_TEventType type = GHOST_kEventCursorMove;
- GHOST_TButtonMask button = GHOST_kButtonMaskNone;
+ GHOST_TButton button = GHOST_kButtonMaskNone;
uint64_t time = 0;
GHOST_TabletData tabletData = GHOST_TABLET_DATA_NONE;
};
@@ -243,7 +243,7 @@ class GHOST_Wintab {
* \param physicalButton: The physical button ID to inspect.
* \return The system mapped button.
*/
- GHOST_TButtonMask mapWintabToGhostButton(UINT cursor, WORD physicalButton);
+ GHOST_TButton mapWintabToGhostButton(UINT cursor, WORD physicalButton);
/**
* Applies common modifications to Wintab context.