Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Getting hidapi.dll to work with Hololens #32

Open
janezk7 opened this issue Oct 18, 2019 · 1 comment
Open

Getting hidapi.dll to work with Hololens #32

janezk7 opened this issue Oct 18, 2019 · 1 comment

Comments

@janezk7
Copy link

janezk7 commented Oct 18, 2019

Hello!

I tried using this library with Unity editor with holographic emulation for Hololens. Works as it should with 64-bit version of hidapi.dll (as Unity editor only supports 64-bit plugins as far as I know), taken from Unity-Wiimote-Master package (followed this tutorial : http://baba-s.hatenablog.com/entry/2017/11/12/090000).
I'm having trouble getting the thing to build and work on Hololens. The issue is with hidapi.dll. 64-bit version doesn't work, since Hololens only supports 32-bit binaries. And building the project with a 32-bit version of hidapi.dll makes the application crash upon startup on Hololens. The code crashes on hidapi's hid_init() method.

On a related matter, is there any way to test input from controller on hololens ? I can pair Joycon in Settings without an issue and it says its connected, but haven't found a way to test it.

Tried on Unity version 2018.4.10f1.

Any help would be appreciated !

@everyone-else-stole-the-good-usernames

have you tried 32 bit unity?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants