- 论坛徽章:
- 0
|
1.对于多点的触摸屏,SLOT怎么理解
比如说:
input_mt_init_slots(ts->input_dev, 255);
原型
/**
* input_mt_init_slots() - initialize MT input slots
* @dev: input device supporting MT events and finger tracking
* @num_slots: number of slots used by the device
*
* This function allocates all necessary memory for MT slot handling
* in the input device, prepares the ABS_MT_SLOT and
* ABS_MT_TRACKING_ID events for use and sets up appropriate buffers.
* May be called repeatedly. Returns -EINVAL if attempting to
* reinitialize with a different number of slots.
*/
int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots);
最好能细讲一下slot
2.GTP_ICS_SLOT_REPORT 中的ICS何解? |
|