aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/evdev/evdev.h
diff options
context:
space:
mode:
authorVladimir Kondratyev <wulf@FreeBSD.org>2021-09-02 19:28:34 +0000
committerVladimir Kondratyev <wulf@FreeBSD.org>2021-09-02 19:35:26 +0000
commit35bc295b30ef91f1835a0ee0225e8d957a9ebddd (patch)
treef23bba78d3bfa0b863b57712f132cdbc604af3c7 /sys/dev/evdev/evdev.h
parent4836af0d42cf9d299ba9203a835bdcfa797a74c2 (diff)
Diffstat (limited to 'sys/dev/evdev/evdev.h')
-rw-r--r--sys/dev/evdev/evdev.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/evdev/evdev.h b/sys/dev/evdev/evdev.h
index dde9bba9b1e2..589bd7cfe563 100644
--- a/sys/dev/evdev/evdev.h
+++ b/sys/dev/evdev/evdev.h
@@ -156,19 +156,12 @@ void evdev_set_flag(struct evdev_dev *, uint16_t);
void *evdev_get_softc(struct evdev_dev *);
/* Multitouch related functions: */
-int evdev_get_mt_slot_by_tracking_id(struct evdev_dev *, int32_t);
-void evdev_support_mt_compat(struct evdev_dev *);
-void evdev_push_mt_compat(struct evdev_dev *);
+int evdev_mt_id_to_slot(struct evdev_dev *, int32_t);
int evdev_mt_push_slot(struct evdev_dev *, int, union evdev_mt_slot *);
int evdev_mt_push_frame(struct evdev_dev *, union evdev_mt_slot *, int);
void evdev_mt_match_frame(struct evdev_dev *, union evdev_mt_slot *, int);
union evdev_mt_slot *evdev_mt_get_match_slots(struct evdev_dev *);
void evdev_mt_push_autorel(struct evdev_dev *);
-static inline int
-evdev_mt_id_to_slot(struct evdev_dev *evdev, int32_t id)
-{
- return (evdev_get_mt_slot_by_tracking_id(evdev, id));
-}
/* Utility functions: */
uint16_t evdev_hid2key(int);