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

[Enhancement]: Support stylus as specific input on X11 #762

Open
1 task done
chr-engwer opened this issue Nov 20, 2024 · 6 comments
Open
1 task done

[Enhancement]: Support stylus as specific input on X11 #762

chr-engwer opened this issue Nov 20, 2024 · 6 comments
Assignees
Labels
enhancement Small enhancements to existing features

Comments

@chr-engwer
Copy link

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

  • I agree to follow this project's Code of Conduct
@chr-engwer chr-engwer added the enhancement Small enhancements to existing features label Nov 20, 2024
@github-project-automation github-project-automation bot moved this to 📕 Todo in Butterfly Nov 20, 2024
@CodeDoctorDE
Copy link
Member

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

@chr-engwer
Copy link
Author

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.

@CodeDoctorDE
Copy link
Member

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

@chr-engwer
Copy link
Author

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
Copy link
Author

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

@chr-engwer
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Small enhancements to existing features
Projects
Status: 📕 Todo
Development

No branches or pull requests

2 participants