Hi,

i wanted to write a little calibration app for a touchscreen-driver. So, i 
looked on the source and found the control_proc function on many 
touch-drivers.
This function can receive a xDeviceCtl, if i understand right.
The 'xDeviceCtl' is the casted to 'xDeviceTSCalibrationCtl' (e.g. in DMC 
driver, but also in many othe drivers). 
I think this is the right way to calibrate or i'am wrong?

So wanted to access the control_proc function from the app with 
'XChangeDeviceControl(display, device, control, value)'.
But the only controll which is supported is 'DEVICE_RESOLUTION' with his 
struct 'XDeviceResolutionControl'.
A simple cast doesn't work.
How i can transmit the 'xDeviceTSCalibrationCtl' or is this imposible at 
present?

Is there another conventional way for calibration?

Thank you for help.

regards
Stefan

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to