mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 14:45:21 +08:00
Fix log string to use the re-mapped button instead of the input ID #2975
This commit is contained in:
committed by
Jerry (Xinyu Hou)
parent
d93ff2f53f
commit
c7e723030b
@@ -590,7 +590,7 @@ OSXScreen::fakeMouseButton(ButtonID id, bool press)
|
||||
|
||||
EMouseButtonState state = press ? kMouseButtonDown : kMouseButtonUp;
|
||||
|
||||
LOG((CLOG_DEBUG1 "faking mouse button id: %d press: %s", id, press ? "pressed" : "released"));
|
||||
LOG((CLOG_DEBUG1 "faking mouse button id: %d press: %s", index, press ? "pressed" : "released"));
|
||||
|
||||
MouseButtonEventMapType thisButtonMap = MouseButtonEventMap[index];
|
||||
CGEventType type = thisButtonMap[state];
|
||||
|
||||
Reference in New Issue
Block a user