nRF Connect SDK API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
hid_keyboard_leds_def.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#include "
hid_keyboard_leds.h
"
8
9
/* This configuration file is included only once from hid_state module and holds
10
* information about LEDs associated with HID keyboard LEDs report.
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
{}
hid_keyboard_leds_def_include_once
;
17
18
static
const
struct
led_effect
keyboard_led_on
=
LED_EFFECT_LED_ON
(
LED_COLOR
(255, 255, 255));
19
static
const
struct
led_effect
keyboard_led_off
=
LED_EFFECT_LED_OFF
();
20
21
/* Map HID keyboard LEDs to application LED IDs. */
22
static
const
uint8_t
keyboard_led_map
[] = {
23
};
LED_COLOR
#define LED_COLOR(_r, _g, _b)
Definition
led_effect.h:96
LED_EFFECT_LED_OFF
#define LED_EFFECT_LED_OFF()
Definition
led_effect.h:132
LED_EFFECT_LED_ON
#define LED_EFFECT_LED_ON(_color)
Definition
led_effect.h:116
hid_keyboard_leds.h
hid_keyboard_leds_def_include_once
const struct @371006310022102235171147366267033273225202370361 hid_keyboard_leds_def_include_once
keyboard_led_off
static const struct led_effect keyboard_led_off
Definition
hid_keyboard_leds_def.h:19
keyboard_led_on
static const struct led_effect keyboard_led_on
Definition
hid_keyboard_leds_def.h:18
keyboard_led_map
static const uint8_t keyboard_led_map[]
Definition
hid_keyboard_leds_def.h:22
led_effect
Single LED effect.
Definition
led_effect.h:51
applications
nrf_desktop
configuration
nrf54lm20dk_nrf54lm20b_cpuapp
hid_keyboard_leds_def.h
Generated on
for nRF Connect SDK API by
1.17.0