evdev: rename evdev_input_device to evdev_device
As said by krh: "Maybe we should also just call it an evdev_device
instead, shorter [and] not really ambiguous."
[krh: if my typo filled irc is going in a commit message, I'm at least going
to insert the missing words.]
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
diff --git a/src/evdev-touchpad.c b/src/evdev-touchpad.c
index f613fb9..16478b8 100644
--- a/src/evdev-touchpad.c
+++ b/src/evdev-touchpad.c
@@ -83,7 +83,7 @@
struct touchpad_dispatch {
struct evdev_dispatch base;
- struct evdev_input_device *device;
+ struct evdev_device *device;
enum touchpad_model model;
enum touchpad_state state;
@@ -126,7 +126,7 @@
};
static enum touchpad_model
-get_touchpad_model(struct evdev_input_device *device)
+get_touchpad_model(struct evdev_device *device)
{
struct input_id id;
unsigned int i;
@@ -190,7 +190,7 @@
static void
configure_touchpad(struct touchpad_dispatch *touchpad,
- struct evdev_input_device *device)
+ struct evdev_device *device)
{
struct weston_motion_filter *accel;
@@ -380,7 +380,7 @@
static inline void
process_absolute(struct touchpad_dispatch *touchpad,
- struct evdev_input_device *device,
+ struct evdev_device *device,
struct input_event *e)
{
switch (e->code) {
@@ -416,7 +416,7 @@
static inline void
process_key(struct touchpad_dispatch *touchpad,
- struct evdev_input_device *device,
+ struct evdev_device *device,
struct input_event *e,
uint32_t time)
{
@@ -476,7 +476,7 @@
static void
touchpad_process(struct evdev_dispatch *dispatch,
- struct evdev_input_device *device,
+ struct evdev_device *device,
struct input_event *e,
uint32_t time)
{
@@ -519,7 +519,7 @@
};
struct evdev_dispatch *
-evdev_touchpad_create(struct evdev_input_device *device)
+evdev_touchpad_create(struct evdev_device *device)
{
struct touchpad_dispatch *touchpad;