Skip to content

Instantly share code, notes, and snippets.

@andrewcrook
Created December 6, 2024 12:48
Show Gist options
  • Save andrewcrook/81d3d7663d446686c8cde7ec76a88e9e to your computer and use it in GitHub Desktop.
Save andrewcrook/81d3d7663d446686c8cde7ec76a88e9e to your computer and use it in GitHub Desktop.
Hammerspoon event property by number
hs.eventtap.event.properties as of 8th Dec 2024
---------------------------------------------------
eventSourceGroupID 44
eventSourceStateID 45
eventSourceUnixProcessID 41
eventSourceUserData 42
eventSourceUserID 43
eventTargetProcessSerialNumber 39
eventTargetUnixProcessID 40
eventUnacceleratedPointerMovementX 170
eventUnacceleratedPointerMovementY 171
keyboardEventAutorepeat 8
keyboardEventKeyboardType 10
keyboardEventKeycode 9
mouseEventButtonNumber 3
mouseEventClickState 1
mouseEventDeltaX 4
mouseEventDeltaY 5
mouseEventInstantMouser 6
mouseEventNumber 0
mouseEventPressure 2
mouseEventSubtype 7
mouseEventWindowUnderMousePointer 91
mouseEventWindowUnderMousePointerThatCanHandleThisEvent 92
scrollWheelEventDeltaAxis1 11
scrollWheelEventDeltaAxis2 12
scrollWheelEventDeltaAxis3 13
scrollWheelEventFixedPtDeltaAxis1 93
scrollWheelEventFixedPtDeltaAxis2 94
scrollWheelEventFixedPtDeltaAxis3 95
scrollWheelEventInstantMouser 14
scrollWheelEventIsContinuous 88
scrollWheelEventMomentumPhase 123
scrollWheelEventPointDeltaAxis1 96
scrollWheelEventPointDeltaAxis2 97
scrollWheelEventPointDeltaAxis3 98
scrollWheelEventScrollCount 100
scrollWheelEventScrollPhase 99
tabletEventDeviceID 24
tabletEventPointButtons 18
tabletEventPointPressure 19
tabletEventPointX 15
tabletEventPointY 16
tabletEventPointZ 17
tabletEventRotation 22
tabletEventTangentialPressure 23
tabletEventTiltX 20
tabletEventTiltY 21
tabletEventVendor1 25
tabletEventVendor2 26
tabletEventVendor3 27
tabletProximityEventCapabilityMask 36
tabletProximityEventDeviceID 31
tabletProximityEventEnterProximity 38
tabletProximityEventPointerID 30
tabletProximityEventPointerType 37
tabletProximityEventSystemTabletID 32
tabletProximityEventTabletID 29
tabletProximityEventVendorID 28
tabletProximityEventVendorPointerSerialNumber 34
tabletProximityEventVendorPointerType 33
tabletProximityEventVendorUniqueID 35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment