From bab20f4538105d9b942858634ef8ce9e962996b7 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Tue, 21 Dec 2010 17:37:36 +0100 Subject: 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. Signed-off-by: Henrik Rydberg --- include/evemu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3