mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 10:30:07 +01:00
tools: yaml verifier: allow for SYN_REPORT value 1
This is generated by the kernel's autorepeat code, see input_repeat_key() in drivers/input/input.c Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
41704028d3
commit
da02cdffd4
1 changed files with 2 additions and 1 deletions
|
|
@ -192,7 +192,8 @@ class TestYaml(unittest.TestCase):
|
|||
ev_syn = evdev[-1]
|
||||
self.assertEqual(ev_syn[2], 0)
|
||||
self.assertEqual(ev_syn[3], 0)
|
||||
self.assertEqual(ev_syn[4], 0)
|
||||
# SYN_REPORT value is 1 in case of some key repeats
|
||||
self.assertLessEqual(ev_syn[4], 1)
|
||||
|
||||
def test_events_evdev_syn_report(self):
|
||||
devices = self.yaml['devices']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue