2019-06-04 10:11:33 +02:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-25 14:51:47 -04:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2022-07-20 11:15:28 -07:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-15 17:03:57 -08:00
|
|
|
|
2020-07-15 17:30:36 -07:00
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2010-11-27 10:50:54 +01:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
|
|
|
|
|
2012-11-08 09:03:47 -08:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2010-11-27 10:50:54 +01:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
2012-11-08 09:03:47 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2012-08-11 22:07:55 +02:00
|
|
|
|
|
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-06 23:15:33 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-07-29 21:51:30 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2024-11-06 23:15:33 -08:00
|
|
|
|
|
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
2024-11-06 23:15:33 -08:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
2012-08-11 22:07:55 +02:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 20:52:22 -07:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-06 23:15:33 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
2015-03-30 14:54:15 -04:00
|
|
|
|
2024-11-06 23:15:33 -08:00
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
2015-03-30 14:54:15 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-06 23:15:33 -08:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
|
|
|
|
|
2010-11-27 10:50:54 +01:00
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-27 09:16:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Input: make input_report_slot_state() return boolean
Let's make input_report_slot_state() return boolean representing whether
the contact is active or not. This will allow writing code like:
if (input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
instead of:
input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE);
if (obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
Reviewed-by: Henrik Rydberg <rydberg@bitmath.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redaht.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-06-05 10:08:44 -07:00
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
Input: make input_report_slot_state() return boolean
Let's make input_report_slot_state() return boolean representing whether
the contact is active or not. This will allow writing code like:
if (input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
instead of:
input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE);
if (obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
Reviewed-by: Henrik Rydberg <rydberg@bitmath.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redaht.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-06-05 10:08:44 -07:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
Input: make input_report_slot_state() return boolean
Let's make input_report_slot_state() return boolean representing whether
the contact is active or not. This will allow writing code like:
if (input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
instead of:
input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE);
if (obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
Reviewed-by: Henrik Rydberg <rydberg@bitmath.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redaht.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-06-05 10:08:44 -07:00
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
Input: make input_report_slot_state() return boolean
Let's make input_report_slot_state() return boolean representing whether
the contact is active or not. This will allow writing code like:
if (input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
instead of:
input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE);
if (obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
Reviewed-by: Henrik Rydberg <rydberg@bitmath.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redaht.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-06-05 10:08:44 -07:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
2017-08-15 16:00:42 -07:00
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Input: make input_report_slot_state() return boolean
Let's make input_report_slot_state() return boolean representing whether
the contact is active or not. This will allow writing code like:
if (input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
instead of:
input_mt_report_slot_state(input, obj->mt_tool,
obj->type != RMI_2D_OBJECT_NONE);
if (obj->type != RMI_2D_OBJECT_NONE) {
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
...
}
Reviewed-by: Henrik Rydberg <rydberg@bitmath.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redaht.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-06-05 10:08:44 -07:00
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-23 23:02:48 -07:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-18 23:08:50 +00:00
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-24 23:53:01 -07:00
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
2012-09-15 15:15:58 +02:00
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-18 23:08:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-19 17:38:07 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
2016-05-19 17:38:07 -07:00
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-15 08:57:18 +02:00
|
|
|
|
2025-08-18 23:08:50 +00:00
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
2012-09-15 08:57:18 +02:00
|
|
|
|
|
|
|
|
|
2010-12-15 13:50:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
2014-08-25 11:31:02 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-20 11:15:28 -07:00
|
|
|
|
|
|
|
|
|
2014-08-25 11:31:02 -07:00
|
|
|
|
2022-07-20 11:15:28 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-25 11:31:02 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-07-25 17:16:42 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-25 11:31:02 -07:00
|
|
|
|
2024-11-06 23:15:32 -08:00
|
|
|
|
2022-07-20 11:15:28 -07:00
|
|
|
|
2014-08-25 11:31:02 -07:00
|
|
|
|
|
|
|
|
|
2014-07-25 17:16:42 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-20 11:15:28 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-07 20:52:22 -07:00
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-20 11:15:28 -07:00
|
|
|
|
2024-11-06 23:15:32 -08:00
|
|
|
|
2014-08-25 11:31:02 -07:00
|
|
|
|
2022-07-20 11:15:28 -07:00
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
2013-04-07 20:52:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-25 11:31:02 -07:00
|
|
|
|
|
|
|
|
|
2012-08-22 20:43:22 +02:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-08-25 10:06:59 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
2020-08-25 10:06:59 -07:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-05 13:41:35 -07:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
2015-04-05 13:41:35 -07:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-05 13:41:35 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-05 13:41:35 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
2015-04-05 13:41:35 -07:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-01 11:25:14 -08:00
|
|
|
|
|
|
|
|
|
2012-08-12 20:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-01 09:27:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-30 14:54:15 -04:00
|
|
|
|
|
|
|
|
|
2012-09-01 09:27:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-30 14:54:15 -04:00
|
|
|
|
2012-09-01 09:27:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|