LIRC libraries
LinuxInfraredRemoteControl
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Macros
Groups
Pages
input_map.h
Go to the documentation of this file.
1
/****************************************************************************
2
** input_map.h *************************************************************
3
****************************************************************************
4
*
5
* input_map.h - button namespace derived from Linux input layer
6
*
7
* Copyright (C) 2008 Christoph Bartelmus <lirc@bartelmus.de>
8
*
9
*/
10
17
#ifndef INPUT_MAP_H
18
#define INPUT_MAP_H
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
#include <stdio.h>
25
#include <sys/types.h>
26
#include <unistd.h>
27
28
#if defined __linux__
29
#include <linux/input.h>
30
#include <linux/uinput.h>
31
#endif
32
33
#if defined __linux__
34
typedef
__u16 linux_input_code;
35
#else
36
typedef
unsigned
short
linux_input_code;
37
#endif
38
39
int
get_input_code(
const
char
* name, linux_input_code* code);
40
void
fprint_namespace(FILE* f);
41
int
is_in_namespace(
const
char
* name);
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif
/* INPUT_MAP_H */
lib
input_map.h
Generated by
1.8.6