WPF applications stop responding to touches after adding or removing tablet devices WPF applications stop responding to touches after adding or removing tablet devices windows windows

WPF applications stop responding to touches after adding or removing tablet devices


Your operating system will ultimately crash, bog down due to resource usage, or otherwise corrupt memory if the hardware device is repeatedly connected and disconnected.

Suggest you change the WPF desktop application to do nothing until the user connects the tablet and clicks on a button in the WPF desktop application to "Enable Tablet" support.

Otherwise, you will get some user with a bad USB cable repeatedly connecting and disconnecting the tablet.

The OS won't be able to handle the device the same as if it is a faulty disk controller.