Hi,

If I understand correctly, you are trying to work with the patches I submitted, nearly a year ago.

First, I would just say that the work concerning this branch of evdev is not maintained as it has a lot of problems (limit of the maximum count of contact, etc).

Multitouch will be available with XInput 2.1.

My first Idea was to create floating devices, but I encountered a bug I did not have the time to patch. If the driver creates a floating device, and you attach this device to a master one, I had trouble transferring the events. That's why I did not created floating devices.

BTW, if want to give it a test, you can just uncomment the line:

EvdevReplaceOption(input_options, "SendCoreEvents","off");

before calling NewInputDeviceRequest.

Cheers,
Benjamin

Le 28/10/2010 10:42, Park Sung-Jin a écrit :
Hi,

Is there any one who knows how to create floting device in Xorg input driver ?

I'm writing an Xorg multitouch driver based on
xf86-input-evdev-multitouch driver.
In the driver, sub devices for multiple fingers will be created using
NewInputDeviceReuqest()
and will be removed using DeleteInputDeviceRequest().
If a device property was set by multitouch daemon application, the sub
devices will be created newly and will be removed.
For example, commands for doing that are : # multitouchctl 3
If the sub devices are created, then multitouch daemon gets a
XI_HierarchyChanged event, and set them as floating slaves
using XIChangeHierarchy() function.

What I want to do is creating the sub devices as floating slaves in
evdev-multitouch driver.
Is there any one who knows how to create floting device in Xorg input driver ?

Thanks,
Sung-Jin Park
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to