[PATCH evdev] Read the device resolution from the kernel.
Julien Cristau
jcristau at debian.org
Thu Apr 29 11:40:58 PDT 2010
On Thu, Apr 29, 2010 at 14:22:14 -0400, Adam Jackson wrote:
> On Thu, 2010-04-29 at 10:12 +1000, Peter Hutterer wrote:
> > For earlier kernels, use the previous hardcoded resolution in place.
>
> What will this do if built on 2.6.30 but run on 2.6.29? Do we
> know .resolution is always 0 in that case?
>
As far as I can tell, the EVIOCGABS ioctl will leave the rest of our
struct input_absinfo alone. pEvdev is zero-filled by xcalloc, so this
should work fine.
Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100429/138ff88e/attachment.pgp>
More information about the xorg-devel
mailing list