libkeymap  2.0.4
Library to manage the Linux keymaps
src/libkeymap/keymap/context.h
Go to the documentation of this file.
00001 
00006 #ifndef LK_CONTEXT_H
00007 #define LK_CONTEXT_H
00008 
00009 #include <linux/kd.h>
00010 #include <linux/keyboard.h>
00011 #include <keymap/findfile.h>
00012 #include <keymap/array.h>
00013 
00017 typedef enum {
00018         LK_FLAG_UNICODE_MODE   = (1 << 1), 
00019         LK_FLAG_CLEAR_COMPOSE  = (1 << 2), 
00020         LK_FLAG_CLEAR_STRINGS  = (1 << 3), 
00021         LK_FLAG_PREFER_UNICODE = (1 << 4)  
00022 } lk_flags;
00023 
00027 typedef enum {
00028         LK_KEYWORD_KEYMAPS    = (1 << 1), 
00029         LK_KEYWORD_ALTISMETA  = (1 << 2), 
00030         LK_KEYWORD_CHARSET    = (1 << 3), 
00031         LK_KEYWORD_STRASUSUAL = (1 << 4)  
00032 } lk_keywords;
00033 
00037 struct lk_kbdiacr {
00038         unsigned int diacr, base, result;
00039 };
00040 
00044 struct lk_ctx;
00045 
00046 #endif /* LK_CONTEXT_H */