[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: Re: [Haiku-bugs] [Haiku] #4685: [patch] Don't register mouse click
From: "idefix" <trac () haiku-os ! org>
Date: 2009-09-30 21:34:21
Message-ID: 050.eac4f905b28680fab8fec66ba0f4f425 () haiku-os ! org
[Download RAW message or body]
#4685: [patch] Don't register mouse click when Wacom pen slightly touches tablet
-------------------------------+--------------------------------------------
Reporter: idefix | Owner: mmlr
Type: enhancement | Status: new
Priority: normal | Milestone: R1
Component: Drivers/Mouse/USB | Version: R1/alpha1
Blockedby: | Platform: All
Blocking: |
-------------------------------+--------------------------------------------
Comment(by idefix):
Replying to [comment:1 stippi]:
> The code already implements that.
You mean (in case of a Wacom Graphire) [source:haiku/trunk/src/add-
ons/input_server/devices/wacom/TabletDevice.cpp#L288 line 288 in
TabletDevice.cpp]?
>Cutting of a range of the pressure is not the way to go.
No, and it wasn't my first intention to do that. I was going to use only
this line:
{{{
if (pressure <= MIN_CLICK_PRESSURE && mode == MODE_PEN)
firstButton = false;
}}}
But this caused Wonderbrush to ignore the pressure-levels below
MIN_CLICK_PRESSURE, so drawing thin lines didn't work anymore.
>You need to find the place in the code where it uses the proximity as a
threshold for the click. This value seems to be too low for your tablet.
Since this is obviously tablet specific, and I even remember this value
being different depending on where you touched the tablet, this should
definitely go into a future preference panel.
Well, I had a more generic solution in mind. But a preference panel does
sound good. :)
--
Ticket URL: <http://dev.haiku-os.org/ticket/4685#comment:2>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.
_______________________________________________
Haiku-bugs mailing list
Haiku-bugs@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/haiku-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic