#include <IOKit/hidsystem/IOHIDParameter.h>
IOKit/hidsystem/IOHIDParameter.h
Public type definitions.
macro_NeXT_MACH_EVENT_DRIVER_
Identify this driver as one that uses the new driverkit and messaging API
#define _NeXT_MACH_EVENT_DRIVER_ (1)
macrokIOHIDKindKey
#define kIOHIDKindKey "HIDKind"
macrokIOHIDInterfaceIDKey
#define kIOHIDInterfaceIDKey "HIDInterfaceID"
macrokIOHIDSubinterfaceIDKey
#define kIOHIDSubinterfaceIDKey "HIDSubinterfaceID"
macrokIOHIDOriginalSubinterfaceIDKey
#define kIOHIDOriginalSubinterfaceIDKey "HIDOriginalSubinterfaceID"
macrokIOHIDParametersKey
#define kIOHIDParametersKey "HIDParameters"
macrokIOHIDVirtualHIDevice
#define kIOHIDVirtualHIDevice "HIDVirtualDevice"
macrokIOHIDKeyRepeatKey
#define kIOHIDKeyRepeatKey "HIDKeyRepeat"
macrokIOHIDInitialKeyRepeatKey
#define kIOHIDInitialKeyRepeatKey "HIDInitialKeyRepeat"
macrokIOHIDKeyMappingKey
#define kIOHIDKeyMappingKey "HIDKeyMapping"
macrokIOHIDResetKeyboardKey
#define kIOHIDResetKeyboardKey "HIDResetKeyboard"
macrokIOHIDKeyboardModifierMappingPairsKey
#define kIOHIDKeyboardModifierMappingPairsKey "HIDKeyboardModifierMappingPairs"
macrokIOHIDKeyboardModifierMappingSrcKey
#define kIOHIDKeyboardModifierMappingSrcKey "HIDKeyboardModifierMappingSrc"
macrokIOHIDKeyboardModifierMappingDstKey
#define kIOHIDKeyboardModifierMappingDstKey "HIDKeyboardModifierMappingDst"
macrokIOHIDKeyboardCapsLockDoesLockKey
#define kIOHIDKeyboardCapsLockDoesLockKey "HIDKeyboardCapsLockDoesLock"
macrokIOHIDKeyboardSupportsF12EjectKey
#define kIOHIDKeyboardSupportsF12EjectKey "HIDKeyboardSupportsF12Eject"
macrokIOHIDKeyboardSupportedModifiersKey
#define kIOHIDKeyboardSupportedModifiersKey "HIDKeyboardSupportedModifiers"
macrokIOHIDKeyboardGlobalModifiersKey
#define kIOHIDKeyboardGlobalModifiersKey "HIDKeyboardGlobalModifiers"
macrokIOHIDServiceGlobalModifiersUsageKey
read only property that specify usage of clobal modifiers
Bit[0] - Report modifiers to the service by setting kIOHIDKeyboardGlobalModifiersKey with global modifiers
Bit[1] - Update/translate events from service taking global modifiers state in consideration
#define kIOHIDServiceGlobalModifiersUsageKey "HIDServiceGlobalModifiersUsage"
macrokIOHIDPointerResolutionKey
#define kIOHIDPointerResolutionKey "HIDPointerResolution"
macrokIOHIDResetPointerKey
#define kIOHIDResetPointerKey "HIDResetPointer"
macrokIOHIDPointerConvertAbsoluteKey
#define kIOHIDPointerConvertAbsoluteKey "HIDPointerConvertAbsolute"
macrokIOHIDPointerContactToMoveKey
#define kIOHIDPointerContactToMoveKey "HIDPointerContactToMove"
macrokIOHIDPointerPressureToClickKey
#define kIOHIDPointerPressureToClickKey "HIDPointerPressureToClick"
macrokIOHIDPointerButtonCountKey
#define kIOHIDPointerButtonCountKey "HIDPointerButtonCount"
macrokIOHIDPointerAccelerationSettingsKey
#define kIOHIDPointerAccelerationSettingsKey "HIDPointerAccelerationSettings"
macrokIOHIDPointerAccelerationTableKey
#define kIOHIDPointerAccelerationTableKey "HIDPointerAccelerationTable"
macrokIOHIDScrollResetKey
#define kIOHIDScrollResetKey "HIDScrollReset"
macrokIOHIDScrollAccelerationTableKey
#define kIOHIDScrollAccelerationTableKey "HIDScrollAccelerationTable"
macrokIOHIDScrollAccelerationTableXKey
#define kIOHIDScrollAccelerationTableXKey "HIDScrollAccelerationTableX"
macrokIOHIDScrollAccelerationTableYKey
#define kIOHIDScrollAccelerationTableYKey "HIDScrollAccelerationTableY"
macrokIOHIDScrollAccelerationTableZKey
#define kIOHIDScrollAccelerationTableZKey "HIDScrollAccelerationTableZ"
macrokIOHIDScrollMouseButtonKey
#define kIOHIDScrollMouseButtonKey "HIDScrollMouseButton"
macrokIOHIDScrollZoomModifierMaskKey
#define kIOHIDScrollZoomModifierMaskKey "HIDScrollZoomModifierMask"
macrokIOHIDClickTimeKey
#define kIOHIDClickTimeKey "HIDClickTime"
macrokIOHIDClickSpaceKey
#define kIOHIDClickSpaceKey "HIDClickSpace"
macrokIOHIDWaitCursorFrameIntervalKey
#define kIOHIDWaitCursorFrameIntervalKey "HIDWaitCursorFrameInterval"
macrokIOHIDAutoDimThresholdKey
#define kIOHIDAutoDimThresholdKey "HIDAutoDimThreshold"
macrokIOHIDAutoDimStateKey
#define kIOHIDAutoDimStateKey "HIDAutoDimState"
macrokIOHIDAutoDimTimeKey
#define kIOHIDAutoDimTimeKey "HIDAutoDimTime"
macrokIOHIDIdleTimeKey
#define kIOHIDIdleTimeKey "HIDIdleTime"
macrokIOHIDBrightnessKey
#define kIOHIDBrightnessKey "HIDBrightness"
macrokIOHIDAutoDimBrightnessKey
#define kIOHIDAutoDimBrightnessKey "HIDAutoDimBrightness"
macrokIOHIDFKeyModeKey
#define kIOHIDFKeyModeKey "HIDFKeyMode"
macrokIOHIDStickyKeysDisabledKey
if kIOHIDStickyKeysDisabledKey is 1, then all sticky keys functionality
is completely turned off. Multiple shifts will have no effect.
#define kIOHIDStickyKeysDisabledKey "HIDStickyKeysDisabled"
macrokIOHIDStickyKeysOnKey
if kIOHIDStickyKeysOnKey is 1 then a depressed modifier will stay down
until a non-modifer key is pressed (or sticky keys is turned off)
#define kIOHIDStickyKeysOnKey "HIDStickyKeysOn"
macrokIOHIDStickyKeysShiftTogglesKey
if kIOHIDStickyKeysShiftTogglesKey is 1, then a sequence of five
shift keys in sequence will toggle sticky keys on or off
#define kIOHIDStickyKeysShiftTogglesKey "HIDStickyKeysShiftToggles"
macrokIOHIDResetStickyKeyNotification
#define kIOHIDResetStickyKeyNotification "HIDResetStickyKeyNotification"
macrokIOHIDMouseKeysOptionTogglesKey
if kIOHIDMouseKeysOptionTogglesKey is 1, then a sequence of five
option keys in sequence will toggle mouse keys on or off
#define kIOHIDMouseKeysOptionTogglesKey "HIDMouseKeysOptionToggles"
macrokIOHIDSlowKeysDelayKey
kIOHIDSlowKeysDelayKey represents the delay used for slow keys.
if kIOHIDSlowKeysDelayKey is 0, then slow keys off
#define kIOHIDSlowKeysDelayKey "HIDSlowKeysDelay"
macrokIOHIDF12EjectDelayKey
#define kIOHIDF12EjectDelayKey "HIDF12EjectDelay"
macrokIOHIDMouseKeysOnKey
#define kIOHIDMouseKeysOnKey "HIDMouseKeysOn"
macrokIOHIDUseKeyswitchKey
#define kIOHIDUseKeyswitchKey "HIDUseKeyswitch"
macrokIOHIDDisallowRemappingOfPrimaryClickKey
#define kIOHIDDisallowRemappingOfPrimaryClickKey "HIDDisallowRemappingOfPrimaryClick"
macrokIOHIDMouseKeysEnablesVirtualNumPadKey
#define kIOHIDMouseKeysEnablesVirtualNumPadKey "HIDMouseKeysEnablesVirtualNumPad"
macrokIOHIDResetLEDsKey
#define kIOHIDResetLEDsKey "HIDResetLEDs"
macrokHIDTrackingAccelParametricCurvesKey
Parametric Acceleration Keys
#define kHIDTrackingAccelParametricCurvesKey "HIDTrackingAccelCurves"
macrokHIDAccelParametricCurvesDebugKey
#define kHIDAccelParametricCurvesDebugKey "HIDAccelCurvesDebug"
macrokHIDScrollAccelParametricCurvesDebugKey
#define kHIDScrollAccelParametricCurvesDebugKey "HIDScrollAccelCurvesDebug"
macrokHIDAccelGainLinearKey
#define kHIDAccelGainLinearKey "HIDAccelGainLinear"
macrokHIDAccelGainParabolicKey
#define kHIDAccelGainParabolicKey "HIDAccelGainParabolic"
macrokHIDAccelGainCubicKey
#define kHIDAccelGainCubicKey "HIDAccelGainCubic"
macrokHIDAccelGainQuarticKey
#define kHIDAccelGainQuarticKey "HIDAccelGainQuartic"
macrokHIDAccelTangentSpeedLinearKey
#define kHIDAccelTangentSpeedLinearKey "HIDAccelTangentSpeedLinear"
macrokHIDAccelTangentSpeedParabolicRootKey
#define kHIDAccelTangentSpeedParabolicRootKey "HIDAccelTangentSpeedParabolicRoot"
macrokHIDAccelTangentSpeedCubicRootKey
#define kHIDAccelTangentSpeedCubicRootKey "HIDAccelTangentSpeedCubicRoot"
macrokHIDAccelTangentSpeedQuarticRootKey
#define kHIDAccelTangentSpeedQuarticRootKey "HIDAccelTangentSpeedQuarticRoot"
macrokHIDAccelIndexKey
#define kHIDAccelIndexKey "HIDAccelIndex"
macrokIOHIDScrollCountMaxTimeDeltaBetweenKey
Scroll Count Keys
#define kIOHIDScrollCountMaxTimeDeltaBetweenKey "HIDScrollCountMaxTimeDeltaBetween"
macrokIOHIDScrollCountMaxTimeDeltaToSustainKey
#define kIOHIDScrollCountMaxTimeDeltaToSustainKey "HIDScrollCountMaxTimeDeltaToSustain"
macrokIOHIDScrollCountMinDeltaToStartKey
#define kIOHIDScrollCountMinDeltaToStartKey "HIDScrollCountMinDeltaToStart"
macrokIOHIDScrollCountMinDeltaToSustainKey
#define kIOHIDScrollCountMinDeltaToSustainKey "HIDScrollCountMinDeltaToSustain"
macrokIOHIDScrollCountIgnoreMomentumScrollsKey
#define kIOHIDScrollCountIgnoreMomentumScrollsKey "HIDScrollCountIgnoreMomentumScrolls"
macrokIOHIDScrollCountMouseCanResetKey
#define kIOHIDScrollCountMouseCanResetKey "HIDScrollCountMouseCanReset"
macrokIOHIDScrollCountMaxKey
#define kIOHIDScrollCountMaxKey "HIDScrollCountMax"
macrokIOHIDScrollCountAccelerationFactorKey
#define kIOHIDScrollCountAccelerationFactorKey "HIDScrollCountAccelerationFactor"
macrokIOHIDScrollCountZeroKey
#define kIOHIDScrollCountZeroKey "HIDScrollCountZero"
macrokIOHIDScrollCountBootDefaultKey
#define kIOHIDScrollCountBootDefaultKey "HIDScrollCountBootDefault"
macrokIOHIDScrollCountResetKey
#define kIOHIDScrollCountResetKey "HIDScrollCountReset"
macrokIOHIDActivityUserIdleKey
Mark user activity state on HID System
#define kIOHIDActivityUserIdleKey "IOHIDActivityUserIdle"
enumIOHIDButtonModes
the following values are used in kIOHIDPointerButtonMode
| kIOHIDButtonMode_BothLeftClicks | 0 | |
| kIOHIDButtonMode_ReverseLeftRightClicks | 1 | |
| kIOHIDButtonMode_EnableRightClick | 2 |
typedefIOHIDButtonModes
typedef enum IOHIDButtonModes IOHIDButtonModes;
macroEVS_PACKED_TIME_SIZE
#define EVS_PACKED_TIME_SIZE (sizeof(UInt64) / sizeof( unsigned int))
macroEVSIOSB
#define EVSIOSB kIOHIDBrightnessKey
macroEVSIOSB_SIZE
#define EVSIOSB_SIZE 1
macroEVSIOSADB
#define EVSIOSADB kIOHIDAutoDimBrightnessKey
macroEVSIOSADB_SIZE
#define EVSIOSADB_SIZE 1
macroEVSIOSKR
#define EVSIOSKR kIOHIDKeyRepeatKey
macroEVSIOSKR_SIZE
#define EVSIOSKR_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOSIKR
#define EVSIOSIKR kIOHIDInitialKeyRepeatKey
macroEVSIOSIKR_SIZE
#define EVSIOSIKR_SIZE EVS_PACKED_TIME_SIZE
macroEVSIORKBD
#define EVSIORKBD kIOHIDResetKeyboardKey
macroEVSIORKBD_SIZE
#define EVSIORKBD_SIZE 1
macroEVSIOCKR_SIZE
#define EVSIOCKR_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOCKML
#define EVSIOCKML kIOHIDKeyMappingKey
macroEVSIOCKML_SIZE
#define EVSIOCKML_SIZE 1
macroEVSIOSKM
The following two tokens are for use with the get/set character routines.
#define EVSIOSKM kIOHIDKeyMappingKey
macroEVSIOSKM_SIZE
#define EVSIOSKM_SIZE 4096
macroEVSIOCKM
#define EVSIOCKM kIOHIDKeyMappingKey
macroEVSIOCKM_SIZE
#define EVSIOCKM_SIZE 4096
macroEVSIOSMS
#define EVSIOSMS kIOHIDPointerAccelerationKey
macroEVSIOSMS_SIZE
#define EVSIOSMS_SIZE (1)
macroEVSIOCMS
#define EVSIOCMS kIOHIDPointerAccelerationKey
macroEVSIOCMS_SIZE
#define EVSIOCMS_SIZE (1)
macroEVSIOSCT
Generic pointer device controls, implemented by the Event Driver.
#define EVSIOSCT kIOHIDClickTimeKey
macroEVSIOSCT_SIZE
#define EVSIOSCT_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOSCS
#define EVSIOSCS kIOHIDClickSpaceKey
enumevsioEVSIOSCSIndices
| EVSIOSCS_X | 0 | |
| EVSIOSCS_Y | 1 |
typedefevsioEVSIOSCSIndices
typedef enum evsioEVSIOSCSIndices evsioEVSIOSCSIndices;
macroEVSIOSCS_SIZE
#define EVSIOSCS_SIZE (EVSIOSCS_Y + 1)
macroEVSIOSADT
#define EVSIOSADT kIOHIDAutoDimThresholdKey
macroEVSIOSADT_SIZE
#define EVSIOSADT_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOSADS
#define EVSIOSADS kIOHIDAutoDimStateKey
macroEVSIOSADS_SIZE
#define EVSIOSADS_SIZE 1
macroEVSIORMS
#define EVSIORMS kIOHIDResetPointerKey
macroEVSIORMS_SIZE
#define EVSIORMS_SIZE 1
macroEVSIOCCT
#define EVSIOCCT kIOHIDClickTimeKey
macroEVSIOCCT_SIZE
#define EVSIOCCT_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOCADT
#define EVSIOCADT kIOHIDAutoDimThresholdKey
macroEVSIOCADT_SIZE
#define EVSIOCADT_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOGDADT
#define EVSIOGDADT kIOHIDAutoDimTimeKey
macroEVSIOGDADT_SIZE
#define EVSIOGDADT_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOIDLE
#define EVSIOIDLE kIOHIDIdleTimeKey
macroEVSIOIDLE_SIZE
#define EVSIOIDLE_SIZE EVS_PACKED_TIME_SIZE
macroEVSIOCCS
#define EVSIOCCS kIOHIDClickSpaceKey
enumevsioEVSIOCCSIndices
| EVSIOCCS_X | 0 | |
| EVSIOCCS_Y | 1 |
typedefevsioEVSIOCCSIndices
typedef enum evsioEVSIOCCSIndices evsioEVSIOCCSIndices;
macroEVSIOCCS_SIZE
#define EVSIOCCS_SIZE (EVSIOCCS_Y + 1)
macroEVSIOCADS
#define EVSIOCADS kIOHIDAutoDimStateKey
macroEVSIOCADS_SIZE
#define EVSIOCADS_SIZE 1
enum(anonymous)
| kIOHIDCapsLockState | 1 | Selectors for IOHIDGetModifierLockState and IOHIDSetModifierLockState |
| kIOHIDNumLockState | 2 | |
| kIOHIDActivityUserIdle | 3 | |
| kIOHIDActivityDisplayOn | 4 | We no longer report display state through HIDSystem. This will not return the current state. |