Nitrokey / nitrokey-3-tests

Automated tests for the Nitrokey 3
3 stars 0 forks source link

Add touch button support #28

Closed robin-nitrokey closed 1 year ago

robin-nitrokey commented 1 year ago

This patch adds support for the new signal-based touch button mechanism of the usbip runner, see: https://github.com/Nitrokey/nitrokey-3-firmware/pull/326

As not all tests are ready to use this mechanism yet, the device fixture keeps the old behavior (just accepting all requests). The new touch_device fixture enables the signal mechanism. Note that you cannot use both fixtures in the same module as they both use the module scope.