Replies: 1 comment 1 reply
-
The VSG's pointer event types don't include a double click specific event type, just ButtonPressEvent and ButtonReleaseEvent. I have looked at the src/vsg/platform/win32/Win32_Window.cpp implementation there is a handling of double click but this is mapped to ButtonPressEvent. A quick look at the XCB docs a double click is not event type, but suggests that users just test for button events happening within a defined time limit. The lack of double click event under X11/XCB will be why I didn't include a specific event type for it. We could create a new double pointer event type and have Win32_Window.cpp map to this, but we'd also need to come up with some form of emulation on the Linux and possibly macOS side in order to give users a consistent experience across platforms. Short of that testing for multiple clicks within a "double click" period could be one way of tackling it. |
Beta Was this translation helpful? Give feedback.
-
Hi,
How to get double click events from vsg::ButtonPressEvent on Windows?
Tried using button and mask variables with no success.
Also, noticed my mouse has 5 buttons. The button value looks the same for two of them.
Beta Was this translation helpful? Give feedback.
All reactions