Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help wanted: Eraser is not working after a driver update #223

Open
itcultus opened this issue Feb 2, 2025 · 4 comments
Open

Help wanted: Eraser is not working after a driver update #223

itcultus opened this issue Feb 2, 2025 · 4 comments

Comments

@itcultus
Copy link

itcultus commented Feb 2, 2025

My current setup is:
openSUSE Tumbleweed, XP Pen Artist 12, latest XP Pen linux drivers, Gromit 16, using X, of course.

Obviously the new XP Pen drivers changed a lot of things in the background because right now I have a non-working setup.
Specifically, the only pens that work are the red and the green arrow (see the configuration file bellow).
Shortcuts for clear screen, undo, on-off are working.

But, neither the blue/yellow pen work, nor the eraser. The eraser is the most important one because I need it, obviously.
Any help would appreciated.

My current configuration is this:

"red Pen" = PEN (size=4 color="red");
"blue Pen" = "red Pen" (color="#4682B4");
"yellow Pen" = "red Pen" (color="#FE8B1B");
"green Marker" = PEN (size=5 color="green" arrowsize=2);

"Eraser" = ERASER (size = 80);

"XP-Pen Pen" = "red Pen";
"XP-Pen Eraser Eraser (0)" = "Eraser";

"default" = "red Pen";
"default"[SHIFT] = "blue Pen";
"default"[CONTROL] = "green Marker";
"default"[META] = "yellow Pen";
"default"[Button3] = "Eraser";

And XInput is this:

 Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech MX Master                        id=12   [slave  pointer  (2)]
⎜   ↳ XP-Pen Mouse                              id=17   [slave  pointer  (2)]
⎜   ↳ XP-Pen Pen Pen (0)                        id=22   [slave  pointer  (2)]
⎜   ↳ XP-Pen Eraser Eraser (0)                  id=23   [slave  pointer  (2)]
⎜   ↳ Microsoft Natural® Ergonomic Keyboard 4000        id=9    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Logitech Logitech Wireless Headset Consumer Control       id=11   [slave  keyboard (3)]
    ↳ Logitech MX Master                        id=14   [slave  keyboard (3)]
    ↳ XP-Pen Pen                                id=15   [slave  keyboard (3)]
    ↳ XP-Pen Eraser                             id=16   [slave  keyboard (3)]
    ↳ XP-Pen Mouse                              id=18   [slave  keyboard (3)]

I also tried to use the Keyboard (XP-Pen Eraser) but I still can't get the eraser to work.

Any ideas?

@bk138
Copy link
Owner

bk138 commented Feb 2, 2025

I suggest reverting the driver update and look and the xinput output for this case. Also, asking at their side is maybe also an approach... Sorry, no better ideas.

@itcultus
Copy link
Author

itcultus commented Feb 5, 2025

I will first check on my laptop which has the older version of the driver. What I suspect is that the eraser is having a new "button" assigned to it. Because as you can see in the output, I use the names as given by xinput.

@itcultus
Copy link
Author

OK, I have some news.
And those news are these:
No matter what I do, the eraser is NOT working. It acts as a stylus tip, not eraser. libinput debug-events --device /dev/input/event23 shows that the eraser is pressed, or released. For example:

event23  TABLET_TOOL_PROXIMITY       +1.374s           234.22/51.35    tilt: -1.00/-1.00       pressure: 0.00  eraser   (0, id 0) proximity-out

But it's not recognized as a mouse button. Even if I set the stylus button to "right click", it's not working. Using my mouse, it works just fine.

Anyway, we will see later how we can fix this.
Off-topic question: If I want to configure the "auto-shapes" do I need to replace one or more pen colors? Or is there a way to have colors and "auto-shapes"?

@bk138
Copy link
Owner

bk138 commented Feb 11, 2025

Anyway, we will see later how we can fix this. Off-topic question: If I want to configure the "auto-shapes" do I need to replace one or more pen colors? Or is there a way to have colors and "auto-shapes"?

I don't know about auto-shapes, but any tool in the config can be coloured with one colour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants