libx52  0.3.2
Saitek X52/X52Pro drivers for Linux/Unix
libx52util.h
Go to the documentation of this file.
1 /*
2  * Saitek X52 Pro Utility Library
3  *
4  * Copyright (C) 2015 Nirenjan Krishnan (nirenjan@nirenjan.org)
5  *
6  * SPDX-License-Identifier: GPL-2.0-only WITH Classpath-exception-2.0
7  */
8 
19 #ifndef LIBX52UTIL_H
20 #define LIBX52UTIL_H
21 
22 #include <stddef.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
49 int libx52util_convert_utf8_string(const uint8_t *input,
50  uint8_t *output, size_t *len);
51 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* !defined LIBX52UTIL_H */
59 
int libx52util_convert_utf8_string(const uint8_t *input, uint8_t *output, size_t *len)
Convert UTF8 string to X52 character map.