Denis Oliver Kropp wrote:
> Denis Oliver Kropp schrieb:
> 
>> Attilio Fiandrotti schrieb:
>>
>>> Does anyone see anything wrong in this mapping ? should i look 
>>> somewhere else?
>>
>>
>> The linux_input DirectFB driver needs to know that it's a touchpad and
>> should translate and scale the values somehow I guess :)
> 
> 
> Was a bit too late. I mixed up touch screens and pads. The driver,
> input core or wm has to convert these absolute values to relative
> movements. I guess it also has to look at pressure coming and going
> to avoid a jumping cursor.
> 

Looking at how synaptic touchpads are managed under XFree/XOrg, i found 
this page [1] containing sources and links to docs.
By default the touchpad operates in absolute mode; today i hacked a bit 
linux input and was able to use the touchpad in a small range of its 
input x,y dynamic, still had the "jump" problem.
IIUC, managing the touchpad in absolute mode requires to

1) offset-correct input range
2) manage jumps
3) scale down input values

Where should such operations be performed ? i guess 3 is not 
linux_input's business, right?

I red the touchpad can also be operated in relative mode: it will 
deliver -128 +127 values and will have less functionalities, but i guess 
managing it will be easier.

What's the best way to proceed? i'm willing spending some time making 
synaptic touchpads works, we really need to support them in the g-i.

cheers

Attilio

[1] http://web.telia.com/~u89404340/touchpad/index.html

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to