Tested working on OSX+Linux, update readme.
trbocode opened this issue · comments
Linux needs sudo, and is kinda fiddely - I previousally had weird timeouts, but they seem to be gone now. Mac seems to work fine through.
Mapping, dumping keys, and unmapping worked greatly on both Arch Linux and Mac OS X.
Hmm, wonder what is causing the sudo requirement. I don't think the HIDSharp library should need sudo? Possibly something I'm doing wrong? I'll take a look at that at some point.
udev blocks access to /dev/hidraw unless you explicitly enable it/use root.
Interesting, does that mean it isn't possible to interact with the HID protocol without root (or enabling hidraw manually)? That seems a bit odd to me.
I assume it can be accesed, just not the way your software/hidsharp does it. In any case, working on root is a good enough workaround for me, through it would have to be debbuged further.
Updated README to state that it works on Linux (with sudo requirement).
I'm having trouble getting the built exe file to run with mono. It just hangs right after I press enter with no output forever.
Any guidance would be greatly appreciated.
There wont be any output until it detects a keyboard (at which point it will print out the keyboard info). I'm not sure why it wouldn't be picking up your keyboard though.
I have this problem too. It just outputs my keyboard info, and then proceeds to hang for quite a while. I killed it after a while