Zephyr Project API
3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
input_hid.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 Google LLC
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_INPUT_HID_H_
8
#define ZEPHYR_INCLUDE_INPUT_HID_H_
9
26
int16_t
input_to_hid_code
(
uint16_t
input_code);
27
38
uint8_t
input_to_hid_modifier
(
uint16_t
input_code);
39
42
#endif
/* ZEPHYR_INCLUDE_INPUT_HID_H_ */
input_to_hid_code
int16_t input_to_hid_code(uint16_t input_code)
Convert an input code to HID code.
input_to_hid_modifier
uint8_t input_to_hid_modifier(uint16_t input_code)
Convert an input code to HID modifier.
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
int16_t
__INT16_TYPE__ int16_t
Definition
stdint.h:73
include
zephyr
input
input_hid.h
Generated on Sun Sep 15 2024 17:01:30 for Zephyr Project API by
1.9.8