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 */
17
18const 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};
#define KEY_ID(_col, _row)
Definition key_id.h:26
static const uint16_t simulated_key_sequence[]
Definition buttons_sim_def.h:18
const struct @32 buttons_sim_def_include_once