marvinbelfort / mx002_linux_driver

2 stars 0 forks source link

How to setup sensitivity? #3

Open YuriFernandes150 opened 1 month ago

YuriFernandes150 commented 1 month ago

Hello! First of all, great work on this! I need to setup the sensitivity so it wont be so high, is there a way to do that? Im using krita, and whenever I even hover the pen over the tablet, the brush already activates, as if I'm touching the tablet. Its a very dim trace. image

https://github.com/marvinbelfort/mx002_linux_driver/assets/16628285/bcaf3293-f126-4dca-afd7-7e8720a3043c

I did some testing o windows and it works fine there

marvinbelfort commented 1 month ago

When one changes the setting to work with the entire tablet space, the hardware stops accurately detecting whether or not there is a touch. I found a distance that worked for me and hardcoded it. I believe it is possible to create a command-line option to configure this.

YuriFernandes150 commented 1 month ago

When one changes the setting to work with the entire tablet space, the hardware stops accurately detecting whether or not there is a touch. I found a distance that worked for me and hardcoded it. I believe it is possible to create a command-line option to configure this.

Yes, I've had to do the same as you, and hardcode it. I actually redid most of the code to work with proper constants, since the values were all hardcoded. Im thinking of making a simple interface and a json for configs.

marvinbelfort commented 1 month ago

I am already working on a configuration system based on TOML.

YuriFernandes150 commented 1 month ago

I am already working on a configuration system based on TOML.

Well, In that case, I'll just wait for you then. Thx for the work!

If its not much to ask, try to include a simple GUI with it.