diff options
author | Henrik Rydberg <rydberg@bitmath.org> | 2010-12-21 17:51:53 +0100 |
---|---|---|
committer | Henrik Rydberg <rydberg@bitmath.org> | 2010-12-21 17:51:53 +0100 |
commit | 9a5d3645217910ce23d7c2b45aaef725cf0c18fd (patch) | |
tree | e46b6139a20308d93be4bcbc4ba3b56fa975f18d /include | |
parent | 4b4ca539a446c8443b28946d0dced1e6167d269b (diff) |
Support kernel device properties
In the upcoming 2.6.38 kernel, there is a new device property
bitfield, useful during device setup. This patch adds support
for it.
Diffstat (limited to 'include')
-rw-r--r-- | include/evemu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/evemu.h b/include/evemu.h index 698a539..5bfcd3e 100644 --- a/include/evemu.h +++ b/include/evemu.h @@ -41,7 +41,8 @@ void evemu_delete(struct evemu_device *dev); const char *evemu_get_name(const struct evemu_device *dev); -int evemu_has(const struct evemu_device *dev, int type, int code); +int evemu_has_prop(const struct evemu_device *dev, int code); +int evemu_has_event(const struct evemu_device *dev, int type, int code); int evemu_extract(struct evemu_device *dev, int fd); int evemu_write(const struct evemu_device *dev, FILE *fp); |