libevdev list of event devices
Martin Kepplinger
martink at posteo.de
Mon Apr 1 06:46:48 UTC 2019
Am 01.04.2019 08:32 schrieb Jake Magee:
> Hello,
> I was wondering if the functionality already exist in libevdev to
> report a
> list of the current event devices? I've looked through the API
> documentation but couldn't find anything. I'm interested in finding
> event
> devices on execution and polling for additions / removals while
> running.
>
> Thanks,
> Jake Magee
Hi Jake,
AFAIK it doesn't. have a look at evemu's find_event_devices() function.
It
doesn't use libevdev but generically does what you want, right?
I actually doubt that this is supposed to be part of libevdev, but
others might
know better :)
martin
More information about the Input-tools
mailing list