Butterfly icon indicating copy to clipboard operation
Butterfly copied to clipboard

[Enhancement]: Support stylus as specific input on X11

Open chr-engwer opened this issue 1 year ago • 7 comments
trafficstars

Which feature is your request related to?

No response

Describe your request for enhancements!

My thinkpad yoga x13 has an additional stylus, which X11 presents as a specific input device with some additional features. It seems that it is currently only handled as a mouse or touchpad input. This leads to the problem that I can't write at all with the stylus, as it does trigger mouse-button events while drawing. I can draw with my finger, but this is not really an attractive solution.

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

chr-engwer avatar Nov 20 '24 21:11 chr-engwer

Hi, can you take a look at the pointer test in the input settings and see how it gets recognized? But if it doesn't get recognized, it's maybe the same issue as #238

CodeDoctorDE avatar Nov 20 '24 21:11 CodeDoctorDE

I wasn't aware of that input test, it was a bit hidden :-)

It is shown as "Pen", Input 1 (1).

When I press the first button on the pen (which can in Xournal be mapped to an other pen, e.g. the text marker or eraser), it still shows the same values.

Pressing the second button show "Pen", Input 4 (100) while hovering and 5 (101) when touching the screen.

chr-engwer avatar Nov 20 '24 21:11 chr-engwer

Hmm, okay that's really good.

I'm currently a bit confused what's the problem. You can currently only draw using your hand and your mouse? Or do you want to disable these and only draw using pen? Then ýou can enable pen only input in the pen input settings

CodeDoctorDE avatar Nov 20 '24 21:11 CodeDoctorDE

I can't draw with the pen at all. I can draw with mouse and with finger. The Laptop has actually 4 pointer devices, a touchpad, the thinpad stick, a touchscreen and a stylus. The later two work with different hardware and actually appear as two separate devices. The touchscreen is in the test recognized as "Touch". So this seems to work fine.

chr-engwer avatar Nov 20 '24 21:11 chr-engwer

Oh, I should perhaps note, I can use the pen to "click" in the toolbar, but writing does not work.

chr-engwer avatar Nov 20 '24 21:11 chr-engwer

Ups... I don't know what happened, but now it completely stopped recognizing input. So perhaps there are some glitches?!... I'll try to test more.

chr-engwer avatar Nov 20 '24 21:11 chr-engwer

Hello, any new updates on this front?

CodeDoctorDE avatar Mar 02 '25 17:03 CodeDoctorDE