#include <IOKit/hidsystem/IOHIKeyboard.h>
IOKit/hidsystem/IOHIKeyboard.h
Start Action Definitions
typedefKeyboardEventAction
typedef void (*)(OSObject *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, AbsoluteTime) KeyboardEventAction;
typedefKeyboardSpecialEventAction
typedef void (*)(OSObject *, unsigned int, unsigned int, unsigned int, unsigned int, UInt64, bool, AbsoluteTime) KeyboardSpecialEventAction;
typedefUpdateEventFlagsAction
typedef void (*)(OSObject *, unsigned int) UpdateEventFlagsAction;
typedefKeyboardEventCallback
typedef void (*)(OSObject *, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, bool, AbsoluteTime, OSObject *, void *) KeyboardEventCallback;
typedefKeyboardSpecialEventCallback
typedef void (*)(OSObject *, unsigned int, unsigned int, unsigned int, unsigned int, UInt64, bool, AbsoluteTime, OSObject *, void *) KeyboardSpecialEventCallback;
typedefUpdateEventFlagsCallback
typedef void (*)(OSObject *, unsigned int, OSObject *, void *) UpdateEventFlagsCallback;
macroEV_DEFAULTINITIALREPEAT
Default key repeat parameters
#define EV_DEFAULTINITIALREPEAT 500000000ULL
1/2 sec in nanoseconds