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

Allow configuring tablet pen's associated mouse button and required pressure #14037

Open
frenzibyte opened this issue Jul 28, 2021 Discussed in #14036 · 7 comments
Open

Allow configuring tablet pen's associated mouse button and required pressure #14037

frenzibyte opened this issue Jul 28, 2021 Discussed in #14036 · 7 comments
Labels
osu!framework issue Can't resolve this without changes to osu!framework. priority:3 Nice to have, at some point type:input

Comments

@frenzibyte
Copy link
Member

Discussed in #14036

Originally posted by Airiuwu July 28, 2021
I personally have a broken pen without a nib or buttons and it thinks I am clicking 24/7


Proposing the same as what OpenTabletDriver's interface has:

CleanShot 2021-07-28 at 06 22 06

@frenzibyte frenzibyte added osu!framework issue Can't resolve this without changes to osu!framework. type:input priority:2 Moderately important. Relied on by some users or impeding the usability of the game labels Jul 28, 2021
@peppy peppy added priority:3 Nice to have, at some point and removed priority:2 Moderately important. Relied on by some users or impeding the usability of the game labels Jul 28, 2021
@C0D3-M4513R
Copy link
Contributor

C0D3-M4513R commented Aug 10, 2021

Have the same issue, but not as severe.
As for this:

Pen buttons by default are not bound to anything, if you have it bound then you can easily unbind that.

As for the nib/tip, that'll be resolved with a "tip button" and "tip pressure" setting you can configure to stop that. Tracking at #14037

I currently have manjaro running. I have the wacom kernel module loaded, and configured the all the pen buttons to do nothing. (Or is there some setting inside osu, which can bind tablet pen buttons?)
Osu though just ignores this. If my pen tip were completely broken, it would stop me, from scrolling with a regular mouse.

@frenzibyte
Copy link
Member Author

frenzibyte commented Aug 10, 2021

This is exactly what's being suggested here, configuring pen buttons and pen tip. If you want to use your external tablet driver, disable "Tablet" from your input settings so that osu!lazer doesn't override it with its built-in tablet driver.

@C0D3-M4513R
Copy link
Contributor

This is exactly what's being suggested here, configuring pen buttons and pen tip. If you want to use your external tablet driver, disable "Tablet" from your input settings so that osu!lazer doesn't override it with its built-in tablet driver.

That was my first thought, but that only leads to my tablet input being ignored (works fine on desktop) and my mouse cursor ending up somewhere off screen.
After giving this another thought, I disabled High Precision Mouse. That fixed this.
Weird though, that that setting would cause such an effect, since tablets are giving absolute coordinates?

@frenzibyte
Copy link
Member Author

Tablet drivers in your computer would get mapped to mouse input, so it would be easy to imagine how High Precision Mouse could potentially break things apart. I'm not sure on the implementation details but this is all out of scope from osu! either way, something to resolve at SDL end if possible, since osu!framework does not deal with "absolute input" and "relative input" purely.

@leogott
Copy link

leogott commented Sep 1, 2024

I have a working Intuos Wacom GD-1212-U, and I can not use it to play osu! because even when hovering, the tablet reports a pen pressure of more than 0. (something like 2-4 / 2046)

Configuring OpenTabletDriver itself to work around that is easy, doing so in osu! is (as of yet) impossible.

Personally I'd also be happy if I could be pointed to where the correct config options live

@peppy
Copy link
Member

peppy commented Sep 2, 2024

Unfortunately there's no available configuration for that yet. Maybe we should set the value required for a press to above zero as a sane default deadzone. We already do that for joysticks.

@leogott
Copy link

leogott commented Sep 10, 2024

I'd prefer a toggle-option "don't respond to pressure" that unbinds M1 from the pen-pressure, over a fixed deadzone.
But a configurable stylus pressure deadzone would be the ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
osu!framework issue Can't resolve this without changes to osu!framework. priority:3 Nice to have, at some point type:input
Projects
None yet
Development

No branches or pull requests

4 participants