-
Hi everyone, Firstly thanks a lot for the great library. Basically, all other buttons are pressed for a short period, however clr button always gets pressed for long period resulting in clearing out all messages..
I'm basically using the same structure from this example. Would be great if anyone has a clue on what's happening.. -- Edit -- I've tried using setClientData instead of transmitClientEvent, result is the same.. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Okay, answering my own question. TLDR; Send mouse down action then mouse release action.
While desperately trying to find a clue, I've noticed that a parameter can be one of the MOUSE_FLAG which simulates mouse actions. // see SDK.h Since buttons like Clr, and Menu has special function when long pressed, the default parameter 1 will act as a long press action for them. |
Beta Was this translation helpful? Give feedback.
Okay, answering my own question.
TLDR;
Send mouse down action then mouse release action.
While desperately trying to find a clue, I've noticed that a parameter can be one of the MOUSE_FLAG which simulates mouse actions. // see SDK.h
Since buttons like Clr, and Menu has special function when long pressed, the default parameter 1 will …