4 ms·
TIL about 'hidutil', do you know if it can remap single key to a combination of keys? E.g: remap Caps Lock to "Ctrl + Option + CMD"
by polyrand 4y ago
TIL about 'hidutil', do you know if it can remap single key to a combination of keys? E.g: remap Caps Lock to "Ctrl + Option + CMD"
- ris58h 4y agoI'm not aware of such feature but I've found that there are other properties in hidutil configuration https://github.com/FSecureLABS/OSXFuzz/blob/600f28c1c4a1211cdc6af13f1550f093a8886f18/OSXFuzz/library_calls/iohidfamily https://github.com/FSecureLABS/OSXFuzz/blob/600f28c1c4a1211c.... "HIDKind", "HIDInterfaceID", "HIDSubinterfaceID", "HIDOriginalSubinterfaceID", "HIDParameters", "HIDVirtualDevice", "HIDKeyRepeat", "HIDInitialKeyMapping", "HIDKeyMapping", "HIDResetKeyboard", "HIDKeyboardModifierMappingPairs", "HIDKeyboardModifierMappingSrc", "HIDKeyboardModifierMappingDst", "HIDKeyboardCapsLockDoesLock", "HIDKeyboardSupportsF12Eject", "HIDKeyboardSupportedModifers", "HIDPointerResolution", "HIDPointerResetPointer", "HIDPointerConvertAbsolute", "HIDPointerContactToMove", "HIDPointerPressureToClick", "HIDPointerButtonMode", "HIDPointerButtonCount", "HIDPointerAcceleration", "HIDPointerAccelerationSettings", "HIDPointerAccelerationTable", "HIDScrollReset", "HIDScrollResolution", "HIDScrollReportRate", "HIDScrollAcceleration", "HIDScrollAccelerationType", "HIDScrollAccelerationTable", "HIDScrollResolutionX", "HIDScrollResolutionY", "HIDScrollResolutionZ", "HIDScrollAccelerationTableX", "HIDScrollAccelerationTableY", "HIDScrollAccelerationTableZ", "HIDScrollMouseButton", "HIDScrollZoomModiferMask", "HIDTrackpadAcceleration", "HIDMouseAcceleration", "HIDClickTime", "HIDClickSpace", "HIDWaitCursorFrameInterval", "HIDAutoDimThreshold", "HIDAutoDimState", "HIDAutoDimTime", "HIDIdleTime", "HIDBrightness", "HIDAutoDimBrightness", "HIDFkeyMode", "HIDStickyKeysDisabled", "HIDStickyKeysOn", "HIDStickyKeysShiftToggles", "HIDMouseKeysOptionToggles", "HIDSlowKeysDelay", "HIDF12EjectDelay", "HIDMouseKeysOn", "HIDUseKeyswitch", "HIDDisallowRemappingOfPrimaryClick", "HIDMouseKeysEnablesVirtualNumPad", "HIDResetLEDs", "HIDAccelCurves", "HIDTrackingAccelCurves", "HIDScrollAccelCurves", "HIDAccellCurvesDebug", "HIDScrollAccelCurvesDebug", "HIDAccelGainLinear", "HIDAccelGainParabolic", "HIDAccelGainCubic", "HIDAccelGainQuartic", "HIDAccelTangentSpeedLinear", "HIDAccelTangentSpeedParabolicRoot", "HIDAccelTangestSpeedCubicRoot", "HIDAccelTangentSpeedQuarticRoot", "HIDAccelIndex", "HIDScrollCountMaxTimeDeltaBetween", "HIDScrollCountMaxTimeDeltaToSustain", "HIDScrollCountMinDeltaToSustain", "HIDScrollCountIgnoreMomentumScrolls", "HIDScrollCountMouseCanReset", "HIDScrollCountMax", "HIDScrollCountAccelerationFactor", "HIDScrollCountZero", "HIDScrollCountBootDefault", "HIDScrollCountReset",
- mprime1 4y agoBroken link. https://github.com/FSecureLABS/OSXFuzz/blob/master/OSXFuzz/library_calls/iohidfamily.h https://github.com/FSecureLABS/OSXFuzz/blob/master/OSXFuzz/l...