1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

Added accelerometer events

This commit is contained in:
Gerry Stellenberg
2012-07-30 19:22:19 -05:00
parent 72301ec1dd
commit 78ed8bbe67
4 changed files with 86 additions and 9 deletions

View File

@@ -376,6 +376,11 @@ typedef enum PREventType {
kPREventTypeSwitchClosedNondebounced = 3, /**< The switch has gone from open to closed and the signal has not been debounced. */
kPREventTypeSwitchOpenNondebounced = 4, /**< The switch has gone from closed to open and the signal has not been debounced. */
kPREventTypeDMDFrameDisplayed = 5, /**< A DMD frame has been displayed. */
kPREventTypeBurstSwitchOpen = 6, /**< A burst switch has gone from closed to open. */
kPREventTypeBurstSwitchClosed = 7, /**< A burst switch has gone from open to closed. */
kPREventTypeAccelerometerX = 8, /**< New value from the accelerometer - X plane. */
kPREventTypeAccelerometerY = 9, /**< New value from the accelerometer - X plane. */
kPREventTypeAccelerometerZ = 10, /**< New value from the accelerometer - X plane. */
kPREventTypetLast = kPREventTypeSwitchOpenNondebounced
} PREventType;