mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-17 02:01:41 +02:00
Partial work related to OS X 10.6 SDK compilation
issue #33: Modernize support for various MacOS APIs to their 10.5 equivalents.
This commit is contained in:
parent
e69caf4d8b
commit
86c29452f9
5 changed files with 5 additions and 5 deletions
|
@ -353,7 +353,7 @@ COSXKeyState::fakeKey(const Keystroke& keystroke)
|
|||
LOG((CLOG_DEBUG1 " %03x (%08x) %s", keystroke.m_data.m_button.m_button, keystroke.m_data.m_button.m_client, keystroke.m_data.m_button.m_press ? "down" : "up"));
|
||||
|
||||
// let system figure out character for us
|
||||
CGPostKeyboardEvent(0, mapKeyButtonToVirtualKey(
|
||||
CGEventCreateKeyboardEvent(0, mapKeyButtonToVirtualKey(
|
||||
keystroke.m_data.m_button.m_button),
|
||||
keystroke.m_data.m_button.m_press);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue