plugins: add USB TSR test plugin

This is intended for testing USB event delivery to TSR plugins.
Usage:

1. enter plugin -> select Start
2. plug and unplug USB
3. reenter plugin -> select Status
   it should display "State: disconnected" then "Prev: connected"
4. when done -> select Stop Plugin

Change-Id: I6c70f452db642f3fcbfbcb4f06c57f93e60f4cfd
This commit is contained in:
Aidan MacDonald 2022-05-21 14:58:55 +01:00
parent 2f71571c0a
commit c116db6065
3 changed files with 138 additions and 0 deletions

View file

@ -226,5 +226,6 @@ test_sampr.c
#ifdef HAVE_TOUCHSCREEN
test_touchscreen.c
#endif
test_usb.c
test_viewports.c
#endif /* HAVE_TEST_PLUGINS */