From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 31 Oct 2010 20:54:21 +0000 Subject: Re: Sysfs properties with libudev (for example capabilities/key) Message-Id: <20101031205421.GA31298@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Oct 31, 2010 at 09:09:03AM -0700, Laszlo Papp wrote: > Hi, > > My further question is that whether libudev can help me to handle > input events, like keyboard, mouse, touch presses ? No, that is what x.org is for. > What is the best to do that in a userspace input system where I would > like to avoid the 'root' usage, 'root' privileges so that simple users > can use it. See the x.org input subsystem code for examples of how to do this. good luck, greg k-h