I am trying to open a USB HID connection, but I cannot get it to work.

I am trying to open a USB HID connection, but I cannot get it to work.

Applies to: Docklight Scripting (V2.2 and higher), Article ID: dl_prb041

On Windows 11/Windows 10 some details about USB HID access are different. USB HID access in Docklight Scripting V2.1.10 requires exclusive access and in Windows 10 this is not possible even for Custom USB HID device class. Docklight Scripting V2.2 (or higher) uses a Access Mode = Shared when needed to work around the problem.

PLEASE NOTE: As a general restriction, you cannot access Mouse/Keyboard or other standard HID input device classes from client applications on Windows. Windows immediately opens these for exclusive access and does not allow a second client application to control them via Output / Input Reports.

Docklight Downloads

Docklight News – USB HID and Windows 10

Docklight FAQ – How can I test and debug my USB HID device?