test: fix a wrong value for the auto-assigned BTN_TOOL

This was actually passed through:
  litest debug event19 - 0.000 EV_KEY           BTN_TOOL_PEN         -2147483648
This commit is contained in:
Peter Hutterer 2024-01-16 17:20:59 +10:00
parent 8603584e33
commit 2218da2f31

View file

@ -32,7 +32,7 @@ static struct input_event proximity_in[] = {
{ .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
/* Note: this device does not send tilt, despite claiming it has it */
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN },
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = LITEST_AUTO_ASSIGN },
{ .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = 1 },
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
{ .type = -1, .code = -1 },
};