nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
motion_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _MOTION_EVENT_H_
8#define _MOTION_EVENT_H_
9
10#include <app_event_manager.h>
12
22#ifdef __cplusplus
23extern "C" {
24#endif
25
29 struct app_event_header header;
30
32 int16_t dx;
33
35 int16_t dy;
36
44 bool active;
45};
46
48
49#ifdef __cplusplus
50}
51#endif
52
57#endif /* _MOTION_EVENT_H_ */
Application Event Manager header.
Application Event Manager profiler tracer header.
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition app_event_manager.h:143
bool active
Definition motion_event.h:44
int16_t dy
Definition motion_event.h:35
int16_t dx
Definition motion_event.h:32
struct app_event_header header
Definition motion_event.h:29
Motion event.
Definition motion_event.h:27