<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 10.3.0 -",
    "tvOS: 10.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMCharacteristicValueInputEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@E@HMCharacteristicValueInputEvent"
  },
  "title" : "HMCharacteristicValueInputEvent"
}
-->

# HMCharacteristicValueInputEvent

Possible values for the input event of a programmable switch.

```
enum HMCharacteristicValueInputEvent
```

## Topics

### Input Events

[`HMCharacteristicValueInputEvent.singlePress`](/documentation/HomeKit/HMCharacteristicValueInputEvent/singlePress)

The programmable switch detected a single press event.

[`HMCharacteristicValueInputEvent.doublePress`](/documentation/HomeKit/HMCharacteristicValueInputEvent/doublePress)

The programmable switch detected a double press event.

[`HMCharacteristicValueInputEvent.longPress`](/documentation/HomeKit/HMCharacteristicValueInputEvent/longPress)

The programmable switch detected a long press event.



---

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)