Skycoder42 / QHotkey

A global shortcut/hotkey for Desktop Qt-Applications
BSD 3-Clause "New" or "Revised" License
548 stars 161 forks source link

Fix bug for get natice keycode failed in mac #66

Closed DualThrust closed 2 years ago

DualThrust commented 2 years ago

TISCopyCurrentKeyboardInputSource will return null when using Chinese input method. Use TISCopyCurrentASCIICapableKeyboardLayoutInputSource instead.

Fixes #48

This is the fist time for me to submit a PR. Maybe I should do like this.