HID Add-on API
1.0.99
Loading...
Searching...
No Matches
buttons_sim_def.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 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
};
simulated_key_sequence
static const uint16_t simulated_key_sequence[]
Definition
buttons_sim_def.h:18
buttons_sim_def_include_once
const struct @5 buttons_sim_def_include_once
applications
nrf_desktop
configuration
nrf54l15dk_nrf54l15_cpuapp
buttons_sim_def.h
Generated on Fri Oct 23 2026 14:29:46 for HID Add-on API by
1.12.0