On Sun, 14.02.16 19:18, Manuel Reimer ([email protected]) wrote: > Hello, > > I want to create a daemon which translates inputs, given by an game > controller (/dev/input/eventX). The default is, that the tag "uaccess" is > set there. > > As soon as my daemon runs, I don't want to use the original input device. > Other applications should not connect to the original device but to my > translated uinput device. > > Currently, the only way to do this seems to be to delete the device nodes, > which seems to be a bit harsh to me. > > Can someone suggest an alternative way to get rid of what uaccess does as > long as my daemon is running and handling the device? As far as I can see > there is no way to remove tags with libudev. It also seems to be impossible > to set an ACL rule to deny access for everyone. Any other suggestions?
There isn't any concept of ownership in udev, and I am pretty sure there shouln't be. input does know one however, in EVIOCGRAB. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
