nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
hid_keymap.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _HID_KEYMAP_H_
8#define _HID_KEYMAP_H_
9
10#include <stddef.h>
11#include <zephyr/toolchain.h>
12#include <zephyr/types.h>
13
14#include "hid_report_desc.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
21struct hid_keymap {
22 uint16_t key_id;
23 uint16_t usage_id;
24 uint8_t report_id;
25};
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif /* _HID_KEYMAP_H_ */
Header file HID report identifiers.
uint16_t usage_id
Definition: hid_keymap.h:23
uint8_t report_id
Definition: hid_keymap.h:24
uint16_t key_id
Definition: hid_keymap.h:22
HID map entry.
Definition: hid_keymap.h:21