mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 23:14:20 +08: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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user