mirror of
https://github.com/labwc/labwc.git
synced 2026-02-20 01:40:22 -05:00
Merge 97f5f93812 into 55a256f2fa
This commit is contained in:
commit
af19621c57
4 changed files with 64 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ enum mouse_event {
|
|||
MOUSE_ACTION_RELEASE,
|
||||
MOUSE_ACTION_DRAG,
|
||||
MOUSE_ACTION_SCROLL,
|
||||
MOUSE_ACTION_SWIPE,
|
||||
};
|
||||
|
||||
enum direction {
|
||||
|
|
@ -30,6 +31,9 @@ struct mousebind {
|
|||
/* ex: BTN_LEFT, BTN_RIGHT from linux/input_event_codes.h */
|
||||
uint32_t button;
|
||||
|
||||
/* used for MOUSE_ACTION_SWIPE */
|
||||
uint32_t fingers;
|
||||
|
||||
/* scroll direction; considered instead of button for scroll events */
|
||||
enum direction direction;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue