#include <linux/input.h>
Go to the source code of this file.
|
| int | input_mt_init_slots (struct input_dev *dev, unsigned int num_slots, unsigned int flags) |
| |
| void | input_mt_destroy_slots (struct input_dev *dev) |
| |
| bool | input_mt_report_slot_state (struct input_dev *dev, unsigned int tool_type, bool active) |
| |
| void | input_mt_report_finger_count (struct input_dev *dev, int count) |
| |
| void | input_mt_report_pointer_emulation (struct input_dev *dev, bool use_count) |
| |
| void | input_mt_drop_unused (struct input_dev *dev) |
| |
| void | input_mt_sync_frame (struct input_dev *dev) |
| |
| int | input_mt_assign_slots (struct input_dev *dev, int *slots, const struct input_mt_pos *pos, int num_pos, int dmax) |
| |
| int | input_mt_get_slot_by_key (struct input_dev *dev, int key) |
| |
◆ INPUT_MT_DIRECT
| #define INPUT_MT_DIRECT 0x0002 /* direct device, e.g. touchscreen */ |
◆ INPUT_MT_DROP_UNUSED
| #define INPUT_MT_DROP_UNUSED 0x0004 /* drop contacts not seen in frame */ |
◆ INPUT_MT_POINTER
| #define INPUT_MT_POINTER 0x0001 /* pointer device, e.g. trackpad */ |
◆ INPUT_MT_SEMI_MT
| #define INPUT_MT_SEMI_MT 0x0010 /* semi-mt device, finger count handled manually */ |
◆ INPUT_MT_TOTAL_FORCE
| #define INPUT_MT_TOTAL_FORCE 0x0020 /* calculate total force from slots pressure */ |
◆ INPUT_MT_TRACK
| #define INPUT_MT_TRACK 0x0008 /* use in-kernel tracking */ |
◆ TRKID_MAX
◆ input_mt_assign_slots()
| int input_mt_assign_slots |
( |
struct input_dev * |
dev, |
|
|
int * |
slots, |
|
|
const struct input_mt_pos * |
pos, |
|
|
int |
num_pos, |
|
|
int |
dmax |
|
) |
| |
◆ input_mt_destroy_slots()
| void input_mt_destroy_slots |
( |
struct input_dev * |
dev | ) |
|
◆ input_mt_drop_unused()
| void input_mt_drop_unused |
( |
struct input_dev * |
dev | ) |
|
◆ input_mt_get_slot_by_key()
| int input_mt_get_slot_by_key |
( |
struct input_dev * |
dev, |
|
|
int |
key |
|
) |
| |
◆ input_mt_init_slots()
| int input_mt_init_slots |
( |
struct input_dev * |
dev, |
|
|
unsigned int |
num_slots, |
|
|
unsigned int |
flags |
|
) |
| |
◆ input_mt_report_finger_count()
| void input_mt_report_finger_count |
( |
struct input_dev * |
dev, |
|
|
int |
count |
|
) |
| |
◆ input_mt_report_pointer_emulation()
| void input_mt_report_pointer_emulation |
( |
struct input_dev * |
dev, |
|
|
bool |
use_count |
|
) |
| |
◆ input_mt_report_slot_state()
| bool input_mt_report_slot_state |
( |
struct input_dev * |
dev, |
|
|
unsigned int |
tool_type, |
|
|
bool |
active |
|
) |
| |
◆ input_mt_sync_frame()
| void input_mt_sync_frame |
( |
struct input_dev * |
dev | ) |
|