1. 05 Apr, 2020 2 commits
  2. 26 Mar, 2020 3 commits
  3. 23 Mar, 2020 2 commits
  4. 22 Mar, 2020 3 commits
  5. 21 Mar, 2020 2 commits
  6. 20 Mar, 2020 3 commits
    • ChangSeok Oh's avatar
      event: Avoid forward declaration for enums · cf29cbff
      ChangSeok Oh authored
      Fix a compilation error with C++.
      
      Fixes #14
      cf29cbff
    • Alexander Mikhaylenko's avatar
      demos: Handle unplugging · bf3b4c96
      Alexander Mikhaylenko authored
      Don't try to send rumble to a device forever.
      bf3b4c96
    • Alexander Mikhaylenko's avatar
      monitor: Implement hot plugging for file-based fallback · eb8047e6
      Alexander Mikhaylenko authored
      Use GFileMonitor to monitor /dev/input for added or removed device files
      and try to connect to them.
      
      When the files are initially created, they may have wrong permissions. To
      circumvent this, check if the file has read+write permissions, and if it
      doesn't, store it as a "potential device" and wait for permission change
      events. When such an event arrives, see if the file is a potential device
      and if it's accessible now. If it is, register it.
      
      Disconnecting is more straightforward and is done directly.
      eb8047e6
  7. 20 Oct, 2019 1 commit
  8. 11 Sep, 2019 1 commit
  9. 16 Apr, 2019 2 commits
  10. 15 Apr, 2019 1 commit
  11. 11 Mar, 2019 1 commit
  12. 09 Feb, 2019 2 commits
  13. 05 Nov, 2018 2 commits
  14. 04 Nov, 2018 4 commits
  15. 10 Oct, 2018 2 commits
  16. 30 Jul, 2018 5 commits
  17. 25 Jul, 2018 1 commit
    • Adrien Plazas's avatar
      device: Defer event emission · f9605666
      Adrien Plazas authored
      Defer the emission of input device events by putting them into idle
      event sources.
      
      This avoids the handling of an event to block the device's event polling
      and processing until it's resolved. For example this prevents the press
      of a button which triggers the apparition of a GtkDialog from blocking
      the device until the dialog stops running, hence allowing to use the
      device in that same dialog.
      f9605666
  18. 01 Mar, 2018 3 commits