ibuskeymap.h | ibuskeymap.h | |||
---|---|---|---|---|
skipping to change at line 70 | skipping to change at line 70 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
typedef struct _IBusKeymap IBusKeymap; | typedef struct _IBusKeymap IBusKeymap; | |||
typedef struct _IBusKeymapClass IBusKeymapClass; | typedef struct _IBusKeymapClass IBusKeymapClass; | |||
/** | /** | |||
* KEYMAP: | * KEYMAP: | |||
* | * | |||
* Data structure for storing keymap. | * Data structure for storing keymap. | |||
* keymap[.][i] | ||||
* i: | ||||
* 0 - without modifer | ||||
* 1 - shift | ||||
* 2 - caplock | ||||
* 3 - shift caplock | ||||
* 4 - altgr | ||||
* 5 - shift altgr | ||||
* 6 - numlock | ||||
*/ | */ | |||
typedef guint KEYMAP[256][5]; | typedef guint KEYMAP[256][7]; | |||
/** | /** | |||
* IBusKeymap: | * IBusKeymap: | |||
* @name: The name of the keymap, such as 'us', 'jp'. | * @name: The name of the keymap, such as 'us', 'jp'. | |||
* @keymap: Keymap table. IME developers normally don have to touch this. | * @keymap: Keymap table. IME developers normally don have to touch this. | |||
* | * | |||
* A keymap object in IBus. | * A keymap object in IBus. | |||
*/ | */ | |||
struct _IBusKeymap { | struct _IBusKeymap { | |||
/*< private >*/ | /*< private >*/ | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 10 lines changed or added | |||