kckey.h
00001 // This file has been automatically genrated by "generate_keys.sh" 00002 // Distributed under the GNU Library General Public License 00003 #ifndef KCKEY_H 00004 #define KCKEY_H 00005 00006 typedef struct { 00007 const char *name; 00008 int code; 00009 } KKeys; 00010 00011 //#define MAX_KEY_LENGTH 15 // should be calculated (gawk ?) 00012 //#define MAX_KEY_MODIFIER_LENGTH 21 // "SHIFT + CRTL + ALT + " : 00013 //#define MAX_FCTN_LENGTH 50 // arbitrary limit 00014 #define NB_KEYS 234 00015 extern const KKeys KKEYS[NB_KEYS]; 00016 00017 #endif