mirror of
https://github.com/torvalds/linux.git
synced 2026-04-29 12:02:35 -04:00
selftests/hid: sync the python tests to hid-tools 0.8
Instead of backporting one by one each commits, let's pull them in bulk and refer to the hid-tools project for a detailed history. The short summary is: - make use of dataclass when possible, to avoid tuples - wacom: remove unused uhdev parameter - various small fixes not worth mentioning Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Link: https://patch.msgid.link/20250709-wip-fix-ci-v1-2-b7df4c271cf8@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
This commit is contained in:
@@ -8,13 +8,14 @@
|
||||
|
||||
from .test_keyboard import ArrayKeyboard, TestArrayKeyboard
|
||||
from hidtools.util import BusType
|
||||
from . import base
|
||||
|
||||
import libevdev
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger("hidtools.test.apple-keyboard")
|
||||
|
||||
KERNEL_MODULE = ("apple", "hid-apple")
|
||||
KERNEL_MODULE = base.KernelModule("apple", "hid-apple")
|
||||
|
||||
|
||||
class KbdData(object):
|
||||
|
||||
Reference in New Issue
Block a user