---
title: dispatchEvent
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/iohideventservice/2765586-dispatchevent
---

# dispatchEvent

Dispatches an event.

## Declaration

```occ
virtual void dispatchEvent(IOHIDEvent *event, IOOptionBits options);
```

## Parameters

- `event`: The IOHIDEvent to dispatch.
