---
title: HMCharacteristicValueInputEvent.doublePress
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmcharacteristicvalueinputevent/doublepress
---

# HMCharacteristicValueInputEvent.doublePress

The programmable switch detected a double press event.

## Declaration

```swift
case doublePress
```

## See Also

### Input Events

- [HMCharacteristicValueInputEvent.singlePress](homekit/hmcharacteristicvalueinputevent/singlepress.md)
- [HMCharacteristicValueInputEvent.longPress](homekit/hmcharacteristicvalueinputevent/longpress.md)
