On Sun, Oct 23, 2011 at 8:22 PM, Peter Hutterer <peter.hutte...@who-t.net> wrote: >> >> > what other axes are on this device? if it's just 2 anyway this is a >> > nonissue. if there are other axes we need to rely on the client to >> > determine >> > which axis represents what anyway (already the case for XI 1.x) >> > >> >> I haven't came up to speed on application side or if server can handle >> wholes in valuator lists and why I haven't submitted anything yet. I > > XI2 handles it on the protocol side,, the server should be able to handle it > nowadays too though that code has not seen much exposure yet. note that to > use this in the wacom driver would mean either ifdef hell or dropping > support for older server versions since currently we're still using the old > input apis.
I know you don't like ifdefs (me neither). But I don't feel we can afford either dropping support for older servers or maintaining more than one xf86-input-wacom branch. I am waiting for the day that I can drop linuxwacom for good. Hope someone can save us from this "hell" ;). >> 1) My device advertises Pressure support with range of 0-4096 but >> never sends anything. If I was an application writer (I'm not, BTW, >> so could be wrong :-) ), I would make assumptions when I saw that >> valuator declared. I'd stop looking for left click and instead start >> looking for some non-zero pressure value as left click. > > that sounds like a kernel bug. the device shouldn't advertise the axis > if it doesn't use it (possibly quirked out if the HW is at fault) It is not a kernel driver issue. It is an issue in wcmInitAxes (xf86Wacom.c). We did not check if the axis is defined or not before calling InitValuatorAxisStruct. Ping ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel