Using CGEventSetIntegerValueField to edit a keyboard event gives error
问题 So, I asked another question here: How to tell the difference between a user-tapped keyboard event and a generated one? One of the answers that came up was to use the "mouse pressure" field (unlikely to be used for a keyboard event) to mark the event as needed. So, I'm trying: CGEventSetIntegerValueField(myKeyboardEvent, kCGMouseEventPressure, 0xFEEDFACE); The problem is: I don't know what 0xFEEDFACE means. What does that value default to? What should I set it to? How can I check whether it