Touchpad stylus mode

Bert Freudenberg bert at freudenbergs.de
Wed Mar 7 14:04:14 EST 2007


Hmm, (2) is interesting. I think I'd like an extension of that, or  
maybe that is what you had in mind. Let me try to put that into  
words ...

Say I want to draw somewhere on the screen. I move the pointer with  
the finger to where the drawing should happen. Then I take a stylus  
and start to draw. I think the first paint should be applied exactly  
where I placed the pointer. All drawing with the stylus would be  
relative to that position, until I move the pointer with the finger  
again.

If the drawing would not start where you placed the pointer, then you  
could never "edit" an image at a precise spot with the stylus.

So the position wherever I start to draw on the tablet should be  
mapped to the current pointer position. That is, the button-down  
event for the tablet would have the exact same coordinates as the  
last pointer event of the touch pad. Tablet drawing would be relative  
to that. On the first stylus down event one could draw a frame that  
shows where the tablet is currently mapped. The frame would go away  
when you use the finger.

- Bert -

On Mar 7, 2007, at 16:14 , Jim Gettys wrote:

> I think there are two logical operations, given the though I've had on
> the topic:
>
> 1) if the client explicitly asks for a absolute pointing device as a
> secondary input device in the XInput , we give them exactly what they
> ask for, telling them they have a tablet of the the appropriate size,
> etc.
>
> 2) if not, and the tablet device is being "ored" into the default
> pointing device with the capacitive sensor, then the area on the  
> screen
> that is reported as coordinates from the tablet sensor might want  
> to be
> pushed around on the screen, as the relative pointing device  
> (touchpad)
> pushes to the edge of the tablet.
>
> How far we are from things working this way, I'll let Zephaniah  
> answer.
>
>                                        - Jim
>
>
> On Wed, 2007-03-07 at 10:19 +0100, Bert Freudenberg wrote:
>> *bump* Anyone?
>>
>> On Mar 2, 2007, at 15:40 , Bert Freudenberg wrote:
>>
>>> The B2 now can be used as a graphics tablet, hardware-wise at
>>> least. Great!
>>>
>>> Now there needs to be some driver adjustment IMHO. The resistive-
>>> mode movement is simply mapped to the core pointer right now,
>>> moving about the upper third of the display, but without generating
>>> any down/up events. It's pretty much useless for writing or  
>>> painting.
>>>
>>> So, what is the plan here?
>>>
>>> Will it be mapped to a secondary xinput device, so activities can
>>> handle it themselves? Or do all activities need to put a writable
>>> area on top for the pad to be useful (provided up/down events are
>>> delivered for the core pointer)?
>>
>> - Bert -







More information about the Devel mailing list