xf86-input-libinput: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 15 05:10:33 UTC 2023


 src/xf86libinput.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 94a52a848801ff035ec4d1c604dac7c90708e562
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu Jun 15 15:00:54 2023 +1000

    tablet: map BTN_STYLUS3 to button 8
    
    Buttons 4-7 are out of bounds for hysterical historical reasons.
    Previously this button fell through to the default statement and
    resulted in 8 + BTN_STYLUS3 - BTN_SIDE == 65 which is rather obviously
    wrong.
    
    Instead, map it explicitly to what the fourth button would be mapped to
    on other devices. This will now overlap with BTN_SIDE on devices that
    both BTN_STYLUS3 *and* BTN_SIDE but those devices don't appear to exist
    in the real world.
    
    Fixes #50
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list