mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-20 22:49:11 +08:00
[fix] fix control and shift keys convertion from Win to MacOSX
This commit is contained in:
@@ -22,8 +22,8 @@ class KeyboardCapturer : public DeviceController {
|
||||
virtual int SendKeyboardCommand(int key_code, bool is_down);
|
||||
|
||||
private:
|
||||
CFMachPortRef eventTap;
|
||||
CFRunLoopSourceRef runLoopSource;
|
||||
CFMachPortRef event_tap_;
|
||||
CFRunLoopSourceRef run_loop_source_;
|
||||
|
||||
public:
|
||||
bool caps_lock_flag_ = false;
|
||||
|
||||
Reference in New Issue
Block a user