diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2023-12-06 11:46:01 +0100 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2023-12-07 09:52:04 +0100 |
commit | 74452d6329be73dd2f5562005e5eef2c7bda7c5b (patch) | |
tree | 8b5a1fc170103adccbe41ab792b9ab5a89137bf0 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 83912f83fabcb5086613e6382756750390ed48aa (diff) |
selftests/hid: tablets: add variants of states with buttons
Turns out that there are transitions that are unlikely to happen:
for example, having both the tip switch and a button being changed
at the same time (in the same report) would require either a very talented
and precise user or a very bad hardware with a very low sampling rate.
So instead of manually building the button test by hand and forgetting
about some cases, let's reuse the state machine and transitions we have.
This patch only adds the states and the valid transitions. The actual
tests will be replaced later.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Jiri Kosina <jkosina@suse.com>
Link: https://lore.kernel.org/r/20231206-wip-selftests-v2-10-c0350c2f5986@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions