Emulate / send Modifier Key (Cntrl, Alt, fn, Shift) in OSx
问题 I am sending keyboard key press and key release events, which works for all keyboard keys. But modifier keys works only when the key associated with modifier key is sent from application, and not from real hardware. That is if I send Shift and 'a' from application, it prints 'A' (capital A, which is what is expected). But if I send 'shift' key down event from application, and enter 'a' from physical keyboard, it prints 'a' (the shift key doesn't seem to be working across different devices).