evdev interface question: ABS_X without ABS_Y?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a quick question about the /dev/input/eventX interface with userspace.

Let's say I have a touchscreen, and I move my finger to (200,100).  I'll see something line this (simplified):

  EV_ABS ABS_X 200
  EV_ABS ABS_Y 100
  EV_SYN

Next, let's say I see something like this:

  EV_ABS ABS_Y 90
  EV_SYN

What is the meaning of that, from the perspective of userspace?  I see two possibilities.  Either:

1. It's a move to (200,90), or
2. It's a move to (0,90)

Which is the correct interpretation?  Is this documented anywhere?

Apparently, the usbhid driver is generating events that imply #1, but xserver-xorg-input-evdev interprets these according to #2.  I'm trying to figure out what needs to be patched.  :)

-- 
Dwayne Litzenberger
PatientWay | Access Management Platform
Toll Free: +1-888-786-8929 x29
Tel: +1-613-369-8325 x29
Web: http://www.patientway.com/
Email: dlitz@xxxxxxxxxxxxxx

PatientWay is hiring! http://www.patientway.com/careers

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux