mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-20 05:20:26 +01:00
test: correct overriding ABS_MISC in litest event frames
This still requires LITEST_AUTO_ASSIGN for that value in the test devices (which no device currently sets) but meanwhile: not scaling ABS_MISC into a magic range is the correct thing to do. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1398>
This commit is contained in:
parent
d5110e1e68
commit
c9e175a507
1 changed files with 1 additions and 0 deletions
|
|
@ -2489,6 +2489,7 @@ axis_replacement_value(struct litest_device *d,
|
|||
while (axis->evcode != -1) {
|
||||
if (axis->evcode == evcode) {
|
||||
switch (evcode) {
|
||||
case ABS_MISC:
|
||||
case ABS_MT_SLOT:
|
||||
case ABS_MT_TRACKING_ID:
|
||||
case ABS_MT_TOOL_TYPE:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue