<!--
{
  "availability" : [
    "DriverKit: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "HIDDriverKit",
  "identifier" : "/documentation/HIDDriverKit/IOHIDDigitizerTouchData",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "HIDDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOHIDDigitizerTouchData"
  },
  "title" : "IOHIDDigitizerTouchData"
}
-->

# IOHIDDigitizerTouchData

A structure containing the current digitizer touch data.

```
typedef struct IOHIDDigitizerTouchData { ... } IOHIDDigitizerTouchData;
```

## Overview

Pass this structure to the [`dispatchDigitizerTouchEvent`](/documentation/HIDDriverKit/IOHIDEventService/dispatchDigitizerTouchEvent) method when dispatching touch events.

## Topics

### Getting the Touch Data

[`uint32_t identifier;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/identifier)

A unique contact identifier.

[`IOFixed x;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/x)

An x-coordinate value in the range `0.0` to `1.0`.

[`IOFixed y;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/y)

A y-coordinate value in the range `0.0` to `1.0`.

[`uint32_t inRange;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/inRange)

A single-bit Boolean that indicates whether the finger is in range.

[`uint32_t touch;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/touch)

A single-bit Boolean that indicates whether the finger is in contact with the surface of the digitizer.

[`uint32_t touchValid;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/touchValid)

A single-bit Boolean that indicates whether the touch contact was intended.

[`uint32_t touchChanged;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/touchChanged)

A single-bit Boolean that indicates whether the touch variable changed since the last event was dispatched.

[`uint32_t positionChanged;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/positionChanged)

A single-bit Boolean that indicates whether the x or y position changed since the last event was dispatched.

[`uint32_t rangeChanged;`](/documentation/HIDDriverKit/IOHIDDigitizerTouchData/rangeChanged)

A single-bit Boolean that indicates whether the range variable changed since the last event was dispatched.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)