mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 20:28:18 +02:00
Make buttons unsigned, there are no negative button numbers
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
56f7ddec82
commit
74955e0b95
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ struct libinput_event_pointer_motion_absolute {
|
||||||
struct libinput_event_pointer_button {
|
struct libinput_event_pointer_button {
|
||||||
struct libinput_event base;
|
struct libinput_event base;
|
||||||
uint32_t time;
|
uint32_t time;
|
||||||
int32_t button;
|
uint32_t button;
|
||||||
enum libinput_pointer_button_state state;
|
enum libinput_pointer_button_state state;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue