Second version of the tablet pad support patches. The main change is
switching from button codes to simple button numbers. This is motivated
by the fact that most buttons don't have any actual meaning and the only
reason we have something other than BTN_0, BTN_1 etc is that we run out of
space in the kernel's event code range. What a button does is defined
largely by the client anyway.

This also caused the removal of the seat button count and a change from
libinput_event_tablet_pad_get_button() to the more explicitly named
libinput_event_tablet_pad_get_button_number(). Just to drive the point home.

Cheers,
  Peter
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to