| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-12-31 15:51:05 +0100 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-12-31 15:51:05 +0100 | 
| commit | 63016ce5c71019de315434de3e91adbf535d4986 (patch) | |
| tree | b2368aecbbc790a600f7dfebfaabc8c28fa806b0 /include/relabsd/device/virtual_device.h | |
| parent | b9952b4938da95de07bff748cfd6d2c7e8471796 (diff) | |
Still working on it...
Diffstat (limited to 'include/relabsd/device/virtual_device.h')
| -rw-r--r-- | include/relabsd/device/virtual_device.h | 22 | 
1 files changed, 1 insertions, 21 deletions
diff --git a/include/relabsd/device/virtual_device.h b/include/relabsd/device/virtual_device.h index d398c7f..646422a 100644 --- a/include/relabsd/device/virtual_device.h +++ b/include/relabsd/device/virtual_device.h @@ -1,26 +1,6 @@  #pragma once -#include <libevdev/libevdev.h> -#include <libevdev/libevdev-uinput.h> - -/* -   LIBEVDEV_UINPUT_OPEN_MANAGED is not defined on my machines. -   It is not my place to define it, so I'll avoid the issue by defining my own -   constant. -*/ -#ifndef LIBEVDEV_UINPUT_OPEN_MANAGED -   #pragma message "[WARNING] libevdev did not define " \ -      "LIBEVDEV_UINPUT_OPEN_MANAGED, using value '-2' instead." -   #define RELABSD_UINPUT_OPEN_MANAGED -2 -#else -   #define RELABSD_UINPUT_OPEN_MANAGED LIBEVDEV_UINPUT_OPEN_MANAGED -#endif - -struct relabsd_device -{ -   struct libevdev * dev; -   struct libevdev_uinput * uidev; -}; +#include <relabsd/device/virtual_device_types.h>  /*   * - Clones the (real) input device.  | 


