SnosMe / uiohook-napi

MIT License
172 stars 40 forks source link

_ktiSPropertyUnicodeKeyLayoutData #12

Closed txj-xyz closed 2 years ago

txj-xyz commented 2 years ago

DO we have instructions for building this for macos?

SnosMe commented 2 years ago

It ships with prebuilt napi module #8 , you don't need to do anything.

https://unpkg.com/browse/uiohook-napi@1.1.0/prebuilds/

txj-xyz commented 2 years ago

Re-opening this, this does not currently work on my Macbook Pro 2019 model. i9 16GB RAM

txj-xyz commented 2 years ago

txj-xyz commented 2 years ago

I'm not sure if there is something I'm doing incorrectly or not, but it does not work out of the box.

SnosMe commented 2 years ago

I don't own Mac and can't test, help.

If demos in https://github.com/kwhat/libuiohook/ work for you, then it's some issue here indeed. If so, we'll need contribution from someone.

V01D-NULL commented 2 years ago

@SnosMe Run MacOS in qemu, there should be some explanation for setting that up online. I think it was a Github repo with a shell script or two :thinking:

txj-xyz commented 2 years ago

I do have a mac that you can test on as well

SnosMe commented 2 years ago

Can you test latest release

txj-xyz commented 2 years ago

It appears to be working now, we are still in development however all signs point to working.

txj-xyz commented 2 years ago

One bug we ran across is that external keyboards do not work properly for Shift, Alt, Control modifiers at all, only the internal keyboard works.

SnosMe commented 2 years ago

@txj-xyz this library is just a wrapper, submit bugs to https://github.com/kwhat/libuiohook/