From 06790288e1282d925eba75029851757fa7d21470 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 22 Oct 2026 18:59:39 +0000 Subject: [PATCH] Linux stylus: drop generic Other(10|11) right-click remap Review: X11 codes 10/11 are not stylus-specific; Wacom X11 already maps barrel to middle/right. Co-authored-by: nrq6993-a11y --- apps/vectorcraft/src/linux_stylus.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/vectorcraft/src/linux_stylus.rs b/apps/vectorcraft/src/linux_stylus.rs index 0fb47f6d1..f86a9cc53 100644 --- a/apps/vectorcraft/src/linux_stylus.rs +++ b/apps/vectorcraft/src/linux_stylus.rs @@ -77,8 +77,6 @@ pub(crate) fn map_tablet_button(code: u16) -> Option match code { BTN_STYLUS | BTN_STYLUS2 => Some(MouseButton::Right), BTN_STYLUS3 => Some(MouseButton::Middle), - // XInput2 on X11 often numbers the first barrel button 10 or 11. - 10 | 11 => Some(MouseButton::Right), _ => None, } }