VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Linux stylus: drop generic Other(10|11) right-click remap
Cursor Agent06790288e128
diff --git a/apps/vectorcraft/src/linux_stylus.rs b/apps/vectorcraft/src/linux_stylus.rsindex 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<winit::event::MouseButton>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,}}