/* $Id: input_map.h,v 5.1 2008/10/26 15:10:17 lirc Exp $ */ /**************************************************************************** ** input_map.h ************************************************************* **************************************************************************** * * input_map.h - button namespace derived from Linux input layer * * Copyright (C) 2008 Christoph Bartelmus * */ #ifndef INPUT_MAP_H #define INPUT_MAP_H #include #include #include #if defined __linux__ #include #include #endif #if defined __linux__ typedef __u16 linux_input_code; #else typedef unsigned short linux_input_code; #endif int get_input_code(const char *name, linux_input_code *code); void fprint_namespace(FILE *f); int is_in_namespace(const char *name); #endif /* INPUT_MAP_H */