I'm porting over functionality from our legacy Silverlight application to our new UWP application and running into a problem with some Human Iterface Device (HID) code. We're using a camera with a button and need to take a picture when the button is clicked. In SilverLight we were able to connect to the camera using HID, but when i try the same thing in UWP I'm unable to make the connection. After debugging the problem, the camera is using Bus 0 and the UWP platform blocks access bus 0. I'm able to run legacy applications on Windows 10 and still access the camera's button so the problem resides in UWP blocking access to bus 0. Is there a work around to access Bus 0? Here are some additional details:
UWP requires that we declare that the application needs access to HID resources (here’s an example in the Package.appxmanifest):
When I add the configuration above, I get the following error:
DEP0700 : Registration of the app failed. The Appx package's manifest is invalid.: Cannot register package because of a problem with Function element usage:0000 *: Value is blocked, and not allowed on this bus (0x80073cf6)
User contributions licensed under CC BY-SA 3.0