gnome-control-center/panels/wacom
Peter Hutterer 42b39cb956 wacom: Prefer the stylus over the eraser
Pens with an integrated eraser share the serial number with the
corresponding pen but differ in the tool ID. libwacom provides a
"paired_id" mapping to look up one from the other.

If the user brings the eraser into proximity the very first time the
tool is seen, the eraser's tool ID is stored in the keyfile instead of
the associated stylus id. This leads to otherwise wrong behavior since
erasers share the serial number with the stylus but don't have any
buttons, don't have any erasers themselves, etc.

Fix this by looking up a matching stylus when we see an eraser. This
effectively filters our CcWacomTool to always be the pen, which is an
inadvertent assumption anyway.
2024-02-05 08:30:26 +00:00
..
calibrator data: mark translatable strings yes 2023-09-18 00:31:24 +03:00
icons Add individual app icons 2022-01-31 14:08:22 +00:00
button-mapping.ui flatpak: Update dependencies to GTK4 2021-12-14 22:34:21 -03:00
cc-drawing-area.c wacom: Connect signal handlers in swapped form 2023-06-07 09:14:28 +12:00
cc-drawing-area.h wacom: Port to GTK4 2021-12-14 22:34:21 -03:00
cc-tablet-tool-map.c wacom: Use g_auto for variables 2019-09-09 22:08:26 +00:00
cc-tablet-tool-map.h wacom: Replace ifdefs with #pragma once 2018-08-02 21:48:03 +00:00
cc-wacom-button-row.c Resolving suggestions 2023-03-29 14:26:55 +13:00
cc-wacom-button-row.h wacom: Replace ifdefs with #pragma once 2018-08-02 21:48:03 +00:00
cc-wacom-device.c wacom: Add description subtitles to tablet devices 2022-02-01 14:18:53 +00:00
cc-wacom-device.h wacom: Add description subtitles to tablet devices 2022-02-01 14:18:53 +00:00
cc-wacom-ekr-page.c wacom: Show distinct entries for Wacom Express Key Remote 2022-08-17 11:57:33 +00:00
cc-wacom-ekr-page.h wacom: Show distinct entries for Wacom Express Key Remote 2022-08-17 11:57:33 +00:00
cc-wacom-ekr-page.ui wacom: Use the ExpressKey Remote name for the EKR 2023-11-08 08:51:56 +00:00
cc-wacom-page.c wacom: Port to AdwSwitchRow 2024-01-22 09:08:43 +00:00
cc-wacom-page.h wacom: Refresh UI 2022-02-01 14:18:53 +00:00
cc-wacom-page.ui wacom: Port to AdwSwitchRow 2024-01-22 09:08:43 +00:00
cc-wacom-panel.c general: replace gtk_widget_translate_coordinates 2023-07-21 09:14:20 +00:00
cc-wacom-panel.h wacom: Use Mutter's input mapping interface to show calibration UI 2022-09-01 23:14:07 +02:00
cc-wacom-panel.ui wacom: Ellipsize the test button 2023-08-25 08:00:43 +00:00
cc-wacom-stylus-page.c wacom: Mark the center-point of the stylus pressure curve 2023-12-21 09:23:49 +00:00
cc-wacom-stylus-page.h wacom: Refresh UI 2022-02-01 14:18:53 +00:00
cc-wacom-stylus-page.ui wacom: Simplify the algorithm a bit 2023-12-21 09:23:49 +00:00
cc-wacom-tool.c wacom: Prefer the stylus over the eraser 2024-02-05 08:30:26 +00:00
cc-wacom-tool.h wacom: Add description subtitles to styli 2022-02-01 14:18:53 +00:00
gnome-wacom-panel.desktop.in desktop: Remove obsolete Bugzilla entries 2022-10-20 13:20:09 +00:00
gsd-enums.h wacom: Make it easier to copy/paste gsd files 2012-01-25 19:01:46 +00:00
gsd-wacom-key-shortcut-button.c wacom: Connect signal handlers in swapped form 2023-06-07 09:14:28 +12:00
gsd-wacom-key-shortcut-button.h wacom: Replace ifdefs with #pragma once 2018-08-02 21:48:03 +00:00
meson.build all: meson: do not specify resources from gresource files as dependencies 2023-05-24 08:34:14 +00:00
test-wacom.c Resolving suggestions 2023-03-29 14:26:55 +13:00
wacom-panel-scenario-tester.py wacom: Add scenario tester 2021-11-18 14:57:22 +00:00
wacom-stylus-3btn-no-eraser.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-stylus-3btn.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-stylus-airbrush.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-stylus-art-pen.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-stylus-classic.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-stylus-inking.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-stylus-no-eraser.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-stylus.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-tablet-cintiq.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-tablet-pc.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom-tablet.svg wacom: Update illustration style 2023-10-24 14:38:00 +00:00
wacom.gresource.xml wacom: Show distinct entries for Wacom Express Key Remote 2022-08-17 11:57:33 +00:00