2008/9/29 Simon Thum <[EMAIL PROTECTED]>:
> Søren Hauberg wrote:
>>
>> 2008/9/29 Peter Hutterer <[EMAIL PROTECTED]>:
>>>
>>> I'd say that most if not all touchpads have a physical button too, so no
>>> button would probably be a good indicator for a touchscreen.
>>
>> Thanks! So, I guess something like the attached patch could be used to
>> handle the two types of devices differently.
>
> Sorry, I wanted to suggest that in reply but missed it. Anyway, be aware
> that as your patch is now, you're also triggering on absolute axes you can't
> handle/don't know. I'd consider that a regression.

Ahh, I (think I) see. The attached patch should handle this. It also
adds support for clicking the screen, and for my setup it works quite
well. I'm quite sure if the code is structured in the best way, as I
just put the code where ever it seemed to work.
  Also, I've hardcoded my own calibration parameters into the patch to
ease testing. This is obviously not usable in general. If I want to
use device properties (that's what I've been told they're called) to
set these parameters, how would I go about doing that?

Thanks,
Søren

Attachment: evdev.patch4
Description: Binary data

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to