[PATCH v2 libinput 0/5] Add tablet pad support

Peter Hutterer peter.hutterer at who-t.net
Mon Apr 11 04:15:27 UTC 2016


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


More information about the wayland-devel mailing list