Skip to content
Snippets Groups Projects
Commit a08464d9 authored by Simon McVittie's avatar Simon McVittie
Browse files

input-device: Add skeleton API for enumeration and monitoring


This includes:

* a public interface implemented by input device monitors
* a public interface to be implemented by the input devices they signal
* a mock implementation for unit-testing
* a unit test for the API
* a simple implementation in terms of inotify on /dev
* a monitor that can print input devices in JSON format on stdout,
  and optionally monitor them

Implementations in terms of udev, SDL, or a portal service are not yet
included. Details of the devices, beyond their paths in /dev and /sys,
are also not included.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 31a3d6ea
Branches
Tags
1 merge request!158Input device interface
Showing
with 2646 additions and 23 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment