-
As title says I'm trying to use hidapi to enumerate controllers on a game running on steamdeck. It works when running on windows but when the game is running on steamdeck I get that error: "Failed to get size of HID device interface list" Is there anything I should be doing? Is it just not compatible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The error you get indicates that If I where to guess - the application from the context you run it either don't have access to HID devices (or any direct access to similar devices) at all, or it has something to do with |
Beta Was this translation helpful? Give feedback.
The error you get indicates that
CM_Get_Device_Interface_List_SizeW
fails here.Unfortunately the error-code is not being logged, so if you could modify and the library to log the
cr
as well - that might give a little more to reason what is going on there.If I where to guess - the application from the context you run it either don't have access to HID devices (or any direct access to similar devices) at all, or it has something to do with
CfgMgr32
API.You may try to use HIDAPI v0.11.1 (or older) since that one uses
SetupAPI
instead ofCfgMgr32
.