mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 13:30:27 +01:00
test: fix wacom test devices to use pressure 0 on proximity out
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1169>
This commit is contained in:
parent
d2969f5203
commit
35b223aa8e
12 changed files with 12 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ static struct input_event proximity_out[] = {
|
|||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_DISTANCE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
|
||||
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
|
||||
{ .type = -1, .code = -1 },
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ static struct input_event proximity_out[] = {
|
|||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_DISTANCE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
|
||||
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
|
||||
{ .type = -1, .code = -1 },
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ static struct input_event proximity_in[] = {
|
|||
static struct input_event proximity_out[] = {
|
||||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
|
||||
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
|
||||
{ .type = -1, .code = -1 },
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ static struct input_event proximity_out[] = {
|
|||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_DISTANCE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_MISC, .value = 0 },
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ static struct input_event proximity_out[] = {
|
|||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_DISTANCE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_MISC, .value = 0 },
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ static struct input_event proximity_out[] = {
|
|||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_DISTANCE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_MISC, .value = 0 },
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ static struct input_event proximity_out[] = {
|
|||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Z, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_WHEEL, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_DISTANCE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_Y, .value = 0 },
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ static struct input_event proximity_in[] = {
|
|||
static struct input_event proximity_out[] = {
|
||||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_MSC, .code = MSC_SERIAL, .value = 297797542 },
|
||||
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
|
||||
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ static struct input_event proximity_out[] = {
|
|||
{ .type = EV_ABS, .code = ABS_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_DISTANCE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_X, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_TILT_Y, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_MISC, .value = 0 },
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ static struct input_event proximity_in[] = {
|
|||
|
||||
static struct input_event proximity_out[] = {
|
||||
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
|
||||
{ .type = -1, .code = -1 },
|
||||
};
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ static struct input_event proximity_in[] = {
|
|||
|
||||
static struct input_event proximity_out[] = {
|
||||
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
|
||||
{ .type = -1, .code = -1 },
|
||||
};
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ static struct input_event proximity_in[] = {
|
|||
|
||||
static struct input_event proximity_out[] = {
|
||||
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 0 },
|
||||
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 },
|
||||
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
|
||||
{ .type = -1, .code = -1 },
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue