Hello, elographics drivers doesn't work on my system (xorg 7.3). The events are not correctly sent. If I change the InitValuatorAxisStruct that correct my problem < /* X valuator */ < xf86InitValuatorAxisStruct(dev, 0, -1, -1, 1, 0, 1); < xf86InitValuatorDefaults(dev, 0); < /* Y valuator */ < xf86InitValuatorAxisStruct(dev, 1, -1, -1, 1, 0, 1); < xf86InitValuatorDefaults(dev, 1); --- > InitValuatorAxisStruct(dev, 0, -1, -1, > 9500, > 0 /* min_res */, > 9500 /* max_res */); > InitValuatorAxisStruct(dev, 1, -1, -1, > 10500, > 0 /* min_res */, > 10500 /* max_res */);
(In reply to comment #0) > Hello, > > elographics drivers doesn't work on my system (xorg 7.3). The events are not > correctly sent. > > If I change the InitValuatorAxisStruct that correct my problem > > < /* X valuator */ > < xf86InitValuatorAxisStruct(dev, 0, -1, -1, 1, 0, 1); > < xf86InitValuatorDefaults(dev, 0); > < /* Y valuator */ > < xf86InitValuatorAxisStruct(dev, 1, -1, -1, 1, 0, 1); > < xf86InitValuatorDefaults(dev, 1); > --- > > InitValuatorAxisStruct(dev, 0, -1, -1, > > 9500, > > 0 /* min_res */, > > 9500 /* max_res */); > > InitValuatorAxisStruct(dev, 1, -1, -1, > > 10500, > > 0 /* min_res */, > > 10500 /* max_res */); Thomas: is there any way to get the axis range from the device rather than hardcoding it? (also, please create patches either by git diff or diff -u. it makes them a lot easier to read)
WONTFIX, no reply for over two months and a patch that most likely breaks other devices due to hardcoded valuator ranges.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.