nRF Connect SDK API 2.8.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
16#include <app_event_manager.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
24 struct app_event_header header;
25
26 int16_t dx;
27 int16_t dy;
28};
29
31
32#ifdef __cplusplus
33}
34#endif
35
40#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
int16_t dy
Definition motion_event.h:27
int16_t dx
Definition motion_event.h:26
struct app_event_header header
Definition motion_event.h:24
Definition motion_event.h:23