nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
click_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019-2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _CLICK_EVENT_H_
8#define _CLICK_EVENT_H_
9
17#include <app_event_manager.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
49
56 struct app_event_header header;
57
59 uint16_t key_id;
60
63};
64
65#ifdef __cplusplus
66}
67#endif
68
73#ifdef __cplusplus
74extern "C" {
75#endif
76
78
79#ifdef __cplusplus
80}
81#endif
82
83#endif /* _CLICK_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
click
Click types.
Definition click_event.h:28
@ CLICK_NONE
Definition click_event.h:32
@ CLICK_SHORT
Definition click_event.h:35
@ CLICK_DOUBLE
Definition click_event.h:41
@ APP_EM_ENFORCE_ENUM_SIZE
Definition click_event.h:47
@ CLICK_LONG
Definition click_event.h:38
@ CLICK_COUNT
Definition click_event.h:44
uint16_t key_id
Definition click_event.h:59
enum click click
Definition click_event.h:62
struct app_event_header header
Definition click_event.h:56
Click event.
Definition click_event.h:54