Skip to content

Support buttons > 5 in translation tables

Keith Packard requested to merge keithp/libxt:button-translations into master

Add support for arbitrary button numbers by replacing the table-driven detail parsing for BtnDown/ButtonPress and BtnUp/ButtonRelease with a custom parser that allows for an arbitrary button number (1-255) after the 'Button' prefix.

Signed-off-by: Keith Packard keithp@keithp.com

Merge request reports