3 ms·
I was going to mention the typescript as well. How does typescript in electron get access to multiple mice hardware and also control multiple cursors? I would h
by ustad 3y ago
I was going to mention the typescript as well. How does typescript in electron get access to multiple mice hardware and also control multiple cursors?
I would have thought that would be near impossible without going native.
- jitl 3y agoLike Python or any other scripting language, via native extensions or FFI to native libraries. node-hid uses native code to control human interface devices. Source code here: https://github.com/node-hid/node-hid/blob/484d13460a89939530eb9e562d5c5f8aa2e56dc5/src/HID.cc https://github.com/node-hid/node-hid/blob/484d13460a89939530...
- ustad 3y agoOh wow thanks for that. I now see the node-hid dependency in the config file.