Re: evdev, hal, and calibrating my touchscreen

2008-11-19 Thread Peter Hutterer
On Wed, Nov 19, 2008 at 07:47:50PM +, Clarke Wixon wrote:
$ xinput list-props Touchkit HID-USB Touchscreen
 
Device 'Touchkit HID-USB Touchscreen':
Device Enabled:1

that's usually an indicator that evdev doesn't pick up the axes. keyboards
only have the device enabled property, mice have all others too.
There should be something in the log about that.

 Only Device Enabled.  Even though the calibration property doesn't exist,
 I can SET it thusly:
 
$ xinput set-int-prop Touchkit HID-USB Touchscreen \
 Evdev Axis Calibration 32 80 3975 135 3935

you can set any property you want, but that doesn't mean the driver will do
anything with it. In your case, because it wasn't registered by the driver
evdev will just ignore it (no input handler is set up).

So fixing why it doesn't pick up the axis should solve your issue here.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: evdev, hal, and calibrating my touchscreen

2008-11-13 Thread Peter Hutterer
On Thu, Nov 13, 2008 at 11:56:09PM +, Clarke Wixon wrote:
 Device 'Touchkit HID-USB Touchscreen':
 Device Enabled:1
 Middle Button Emulation:2
 Middle Button Timeout:50
 Wheel Emulation Inertia:10
 Wheel Emulation:0
 Wheel Emulation X Axis:0, 0
 Wheel Emulation Y Axis:4, 5
 Wheel Emulation Timeout:200
 Wheel Emulation Button:4
 Drag Lock Buttons:0


Evdev Axis Calibration should be the property, at least if you're running
2.0.99.3.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg