nRF Connect SDK API
3.3.99
Loading...
Searching...
No Matches
buttons_sim_def.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#include <
caf/key_id.h
>
8
9
/* This configuration file is included only once from buttons_sim module
10
* and holds information about generated button presses sequence.
11
*/
12
13
/* This structure enforces the header file is included only once in the build.
14
* Violating this requirement triggers a multiple definition error at link time.
15
*/
16
const
struct
{}
buttons_sim_def_include_once
;
17
18
const
static
uint16_t
simulated_key_sequence
[] = {
19
KEY_ID
(0x00, 0x11),
/* N */
20
KEY_ID
(0x00, 0x12),
/* O */
21
KEY_ID
(0x00, 0x15),
/* R */
22
KEY_ID
(0x00, 0x07),
/* D */
23
KEY_ID
(0x00, 0x0C),
/* I */
24
KEY_ID
(0x00, 0x06),
/* C */
25
KEY_ID
(0x00, 0x2C),
/* spacebar */
26
};
KEY_ID
#define KEY_ID(_col, _row)
Definition
key_id.h:26
key_id.h
simulated_key_sequence
static const uint16_t simulated_key_sequence[]
Definition
buttons_sim_def.h:18
buttons_sim_def_include_once
const struct @32 buttons_sim_def_include_once
applications
nrf_desktop
configuration
nrf54l15dk_nrf54l05_cpuapp
buttons_sim_def.h
Generated on Wed Jun 10 2026 17:22:24 for nRF Connect SDK API by
1.12.0