---
title: dispatchMultiAxisPointerEvent
framework: kernel
role: pseudoSymbol
path: kernel/iohideventservice/1812745-dispatchmultiaxispointerevent
---

# dispatchMultiAxisPointerEvent

Dispatch multi-axis pointer event

## Declaration

```occ
virtual void dispatchMultiAxisPointerEvent( 
 AbsoluteTime timeStamp, 
 UInt32 buttonState, 
 IOFixed x, 
 IOFixed y, 
 IOFixed z, 
 IOFixed rX = 0, 
 IOFixed rY = 0, 
 IOFixed rZ = 0, 
 IOOptionBits options = 0 ); 
```

## Parameters

- `timeStamp`: AbsoluteTime representing origination of event
- `buttonState`: Button mask where bit0 is the primary button, bit1 secondary and so forth
- `x`: Absolute location of pointer along the x-axis from -1.0 to 1.0 in 16:16 fixed point.
- `y`: Absolute location of pointer along the y-axis from -1.0 to 1.0 in 16:16 fixed point.
- `z`: Absolute location of pointer along the z-axis from -1.0 to 1.0 in 16:16 fixed point.
- `rX`: Absolute rotation of pointer around the x-axis from -1.0 to 1.0 in 16:16 fixed point.
- `rY`: Absolute rotation of pointer around the y-axis from -1.0 to 1.0 in 16:16 fixed point.
- `rZ`: Absolute rotation of pointer around the z-axis from -1.0 to 1.0 in 16:16 fixed point.
- `options`: Additional options to be used when dispatching event such as leveraging rotational axis for translation or using the z axis for vertical scrolling.

## Overview

Overview This is meant to be used with joysticks or multi-axis pointer devices such as those with with 6 degrees of freedom. This function will generate related relative pointer and scroll event associated with movement.

## See Also

### Miscellaneous

- [dispatchDigitizerEvent](kernel/iohideventservice/1812711-dispatchdigitizerevent.md)
- [dispatchDigitizerEventWithPolarOrientation](kernel/iohideventservice/1812728-dispatchdigitizereventwithpolaro.md)
- [dispatchDigitizerEventWithTiltOrientation](kernel/iohideventservice/1812735-dispatchdigitizereventwithtiltor.md)
- [handleClose](kernel/iohideventservice/1812757-handleclose.md)
- [handleIsOpen](kernel/iohideventservice/1812770-handleisopen.md)
- [handleOpen](kernel/iohideventservice/1812786-handleopen.md)
- [handleStart](kernel/iohideventservice/1812803-handlestart.md)
- [handleStop](kernel/iohideventservice/1812816-handlestop.md)
