Skip to content
  • Simon McVittie's avatar
    a08464d9
    input-device: Add skeleton API for enumeration and monitoring · a08464d9
    Simon McVittie authored
    
    
    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>
    a08464d9
    input-device: Add skeleton API for enumeration and monitoring
    Simon McVittie authored
    
    
    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>
This project is licensed under the Other. Learn more
Loading