tools: Remove dead eraser_button_button initialization to BTN_STYLUS

Co-Authored-by: Claude Code <noreply@anthropic.com>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1444>
This commit is contained in:
Peter Hutterer 2026-03-11 20:54:19 +10:00 committed by Marge Bot
parent 45150cc6ec
commit 32fd9ec95f

View file

@ -146,7 +146,6 @@ tools_init_options(struct tools_options *options)
options->area.y2 = 1.0;
options->sendevents = LIBINPUT_CONFIG_SEND_EVENTS_ENABLED;
options->eraser_button_mode = LIBINPUT_CONFIG_ERASER_BUTTON_DEFAULT;
options->eraser_button_button = BTN_STYLUS;
options->eraser_button_button = 0;
}