mirror of
https://github.com/rfc2822/GfxTablet
synced 2025-10-05 10:29:25 +02:00
add tablet events, so xinput recognizes this as a Tablet, not a Touchscreen. Also add stylus-in-range pseudo-button and barrel buttons
This commit is contained in:
parent
f957287eac
commit
c61378cef4
2 changed files with 22 additions and 1 deletions
|
@ -20,7 +20,11 @@ struct event_packet
|
|||
};
|
||||
|
||||
struct { /* only required for EVENT_TYPE_BUTTON */
|
||||
int8_t button; /* number of button, beginning with 1 */
|
||||
int8_t button; /* button id:
|
||||
-1 = stylus in range,
|
||||
0 = tap/left click/button 0,
|
||||
1 = button 1,
|
||||
2 = button 2 */
|
||||
int8_t down; /* 1 = button down, 0 = button up */
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue