mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-22 05:20:41 -04:00
selftests/hid: run ruff format on the python part
We aim at syncing with the hid-tools repo on gitlab.freedesktop.org/libevdev/hid-tools. One of the commits is this mechanical formatting, so pull it over here so changes are not hidden by those. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Link: https://patch.msgid.link/20250709-wip-fix-ci-v1-1-b7df4c271cf8@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
This commit is contained in:
@@ -1228,9 +1228,9 @@ class Huion_Kamvas_Pro_19_256c_006b(PenDigitizer):
|
||||
pen.current_state = state
|
||||
|
||||
def call_input_event(self, report):
|
||||
if report[0] == 0x0a:
|
||||
if report[0] == 0x0A:
|
||||
# ensures the original second Eraser usage is null
|
||||
report[1] &= 0xdf
|
||||
report[1] &= 0xDF
|
||||
|
||||
# ensures the original last bit is equal to bit 6 (In Range)
|
||||
if report[1] & 0x40:
|
||||
|
||||
Reference in New Issue
Block a user