Go to file
Peter Hutterer e92dcb6ce0 input: unify button numbers on master devices.
Master devices provide the union of all attached slave devices' buttons,
i.e. the number of buttons on the master device is always the number of
buttons of the slave device with the highest number of buttons. When slaves
are attached or detached, the master device adjusts the button number to
reflect the new buttons.

On a slave switch, this slave's button labels are copied into the master (up
to slave->num_buttons). The remaining button labels (if any) stay as they
are. Thus, if any of the higher buttons is still pressed, it reflects the
label of the last pressed device that provided this button.

If two devices press the same button and it is differently labelled the last
pressed one will be reflected in the master device.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-18 15:50:47 +10:00
composite Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
config config: fix build after XI2 API changes to RemoveDevice. 2009-06-07 20:35:14 +10:00
damageext Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dbe Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
dix input: unify button numbers on master devices. 2009-06-18 15:50:47 +10:00
doc doc: Remove mention of Kerberos replay cache from Xserver.1 2009-06-01 15:50:50 -04:00
exa exa: driver pixmaps enabled if either CreatePixmap or CreatePixmap2 present 2009-06-09 09:24:32 +10:00
fb Make compositing with transformed windows work again. 2009-05-10 23:27:56 -04:00
glx glx: fix open-coded linked list removal function 2009-06-11 11:09:40 +10:00
hw input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7 2009-06-18 14:41:47 +10:00
include input: unify button numbers on master devices. 2009-06-18 15:50:47 +10:00
m4 Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
mi Merge branch 'master' into xi2 2009-06-03 16:11:33 +10:00
miext Rootless: Use serverClient instead of NullClient 2009-06-06 22:23:56 -07:00
os OS: Fix compile warnings 2009-06-11 03:55:57 +10:00
randr randr: fix typo in swapped dispatch 2009-06-15 10:10:26 -04:00
record Fix most remaining deprecated resource lookups. 2009-04-29 01:04:37 -04:00
render Fix alpha map computation in miComputeCompositeRegion() 2009-05-27 15:51:19 -04:00
test Revert "test: check from INT_MIN to INT_MAX for core type conversion" 2009-06-05 16:45:28 +10:00
Xext Merge branch 'master' into xi2 2009-05-28 17:20:58 +10:00
xfixes Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
Xi input: unify button numbers on master devices. 2009-06-18 15:50:47 +10:00
xkb Xi: Add support for sourceid in the device classes. 2009-06-17 11:21:19 +10:00
.gitignore Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Require inputproto 1.9.99.12 2009-06-18 14:41:50 +10:00
COPYING Correct some Sun license notices to Sun's standard X11 license format 2009-05-15 11:24:15 -07:00
cpprules.in For MANDEFS, also replace __mandir__ for $(mandir) which includes 2006-12-08 15:51:44 -06:00
Makefile.am Move contributed m4 to a subdir so we can more easily update contributions. 2009-04-14 10:35:44 -04:00
shave-libtool.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
shave.in Add shave so that we can see the steaming piles of warnings generated. 2009-04-14 10:35:44 -04:00
xorg-server.m4 Add xorg-server.m4 for driver dependency checking. 2005-11-01 15:01:51 +00:00
xorg-server.pc.in Enable compiling the X Server and modules with hidden symbols by default. 2008-11-28 02:01:57 -02:00