Closed DualThrust closed 2 years ago
Hi! I do not have a Mac, but could you test it with the suggested change?
sorry to reply too late... everything work fine with Qt5 and Qt6 in mac
Please, submit a PR then.
I have submit a PR to fix this.
RP: #66
function nativeKeycode in qhotkey_mac.cpp will return 0 when I was using Chinese input method. I think it is same when using Japanese or Korean input method.
line 137 should use TISCopyCurrentASCIICapableKeyboardLayoutInputSource instead of TISCopyCurrentKeyboardInputSource. I guess Chinese input method don't have a layout.
reference: https://jongampark.wordpress.com/2015/07/17/when-tisgetinputsourceproperty-ktispropertyunicodekeylayoutdata-returns-null/