Back to index

im-sdk  12.3.91
Classes | Defines | Typedefs | Enumerations
vkb_layout.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _vkb_basekey_label_t
struct  _vkb_ctrlkey_label_t
struct  _vkb_layout_t

Defines

#define MAX_VK_NUM   (MAX_BASEKEY_NUM + MAX_CTRLKEY_NUM)
#define KEYLIST_LOWER   "`1234567890-=qwertyuiop[]\\asdfghjkl;\'zxcvbnm,./";
#define KEYLIST_UPPER   "~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?";
#define KEYLIST_LABEL   "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;\'ZXCVBNM,./";
#define BACKSPACE_KEY_LABEL   "<--"
#define TAB_KEY_LABEL   "Tab"
#define CAPS_KEY_LABEL   "Caps"
#define ENTER_KEY_LABEL   "Enter"
#define SHIFT_KEY_LABEL   "Shift"
#define CTRL_KEY_LABEL   "Ctrl"
#define ALT_KEY_LABEL   "Alt"
#define SPACE_KEY_LABEL   " "
#define ESCAPE_KEY_LABEL   "Esc"

Typedefs

typedef enum _vkb_type_t vkb_type_t
typedef struct _vkb_basekey_label_t vkb_basekey_label_t
typedef struct _vkb_ctrlkey_label_t vkb_ctrlkey_label_t
typedef struct _vkb_layout_t vkb_layout_t

Enumerations

enum  _vkb_basekey_list {
  VK_invalid = -2, VK_movearea = -1, VK_quotedbl = 0, VK_1,
  VK_2, VK_3, VK_4, VK_5,
  VK_6, VK_7, VK_8, VK_9,
  VK_0, VK_minus, VK_equal, VK_q,
  VK_w, VK_e, VK_r, VK_t,
  VK_y, VK_u, VK_i, VK_o,
  VK_p, VK_bracketleft, VK_bracketright, VK_backslash,
  VK_a, VK_s, VK_d, VK_f,
  VK_g, VK_h, VK_j, VK_k,
  VK_l, VK_semicolon, VK_apostrophe, VK_z,
  VK_x, VK_c, VK_v, VK_b,
  VK_n, VK_m, VK_colon, VK_period,
  VK_slash, MAX_BASEKEY_NUM, VK_invalid = -2, VK_movearea = -1,
  VK_quotedbl = 0, VK_1, VK_2, VK_3,
  VK_4, VK_5, VK_6, VK_7,
  VK_8, VK_9, VK_0, VK_minus,
  VK_equal, VK_q, VK_w, VK_e,
  VK_r, VK_t, VK_y, VK_u,
  VK_i, VK_o, VK_p, VK_bracketleft,
  VK_bracketright, VK_backslash, VK_a, VK_s,
  VK_d, VK_f, VK_g, VK_h,
  VK_j, VK_k, VK_l, VK_semicolon,
  VK_apostrophe, VK_z, VK_x, VK_c,
  VK_v, VK_b, VK_n, VK_m,
  VK_colon, VK_period, VK_slash, MAX_BASEKEY_NUM,
  VK_invalid = -2, VK_movearea = -1, VK_quotedbl = 0, VK_1,
  VK_2, VK_3, VK_4, VK_5,
  VK_6, VK_7, VK_8, VK_9,
  VK_0, VK_minus, VK_equal, VK_q,
  VK_w, VK_e, VK_r, VK_t,
  VK_y, VK_u, VK_i, VK_o,
  VK_p, VK_bracketleft, VK_bracketright, VK_backslash,
  VK_a, VK_s, VK_d, VK_f,
  VK_g, VK_h, VK_j, VK_k,
  VK_l, VK_semicolon, VK_apostrophe, VK_z,
  VK_x, VK_c, VK_v, VK_b,
  VK_n, VK_m, VK_colon, VK_period,
  VK_slash, MAX_BASEKEY_NUM
}
enum  _vkb_ctrlkey_list {
  VK_BackSpace = 0, VK_Tab, VK_CapsLock, VK_Enter,
  VK_Shift_L, VK_Control_L, VK_Alt_L, VK_Space,
  VK_Escape, MAX_CTRLKEY_NUM, VK_BackSpace = 0, VK_Tab,
  VK_CapsLock, VK_Enter, VK_Shift_L, VK_Control_L,
  VK_Alt_L, VK_Space, VK_Escape, MAX_CTRLKEY_NUM,
  VK_BackSpace = 0, VK_Tab, VK_CapsLock, VK_Enter,
  VK_Shift_L, VK_Control_L, VK_Alt_L, VK_Space,
  VK_Escape, MAX_CTRLKEY_NUM
}
enum  _vkb_type_t {
  KEYBOARD_STRING_TYPE = 0, KEYBOARD_KEY_TYPE, KEYBOARD_STRING_TYPE = 0, KEYBOARD_KEY_TYPE,
  KEYBOARD_STRING_TYPE = 0, KEYBOARD_KEY_TYPE
}

Class Documentation

struct _vkb_basekey_label_t

Definition at line 100 of file vkb_layout.h.

Class Members
char * lower_str
char * upper_str
struct _vkb_ctrlkey_label_t

Definition at line 105 of file vkb_layout.h.

Class Members
char * label_str
struct _vkb_layout_t

Definition at line 109 of file vkb_layout.h.

Collaboration diagram for _vkb_layout_t:
Class Members
vkb_basekey_label_t basekey
vkb_ctrlkey_label_t ctrlkey
char * ename
char * name_utf8
vkb_type_t type

Define Documentation

#define ALT_KEY_LABEL   "Alt"

Definition at line 96 of file vkb_layout.h.

#define BACKSPACE_KEY_LABEL   "<--"

Definition at line 90 of file vkb_layout.h.

#define CAPS_KEY_LABEL   "Caps"

Definition at line 92 of file vkb_layout.h.

#define CTRL_KEY_LABEL   "Ctrl"

Definition at line 95 of file vkb_layout.h.

#define ENTER_KEY_LABEL   "Enter"

Definition at line 93 of file vkb_layout.h.

#define ESCAPE_KEY_LABEL   "Esc"

Definition at line 98 of file vkb_layout.h.

#define KEYLIST_LABEL   "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;\'ZXCVBNM,./";

Definition at line 88 of file vkb_layout.h.

#define KEYLIST_LOWER   "`1234567890-=qwertyuiop[]\\asdfghjkl;\'zxcvbnm,./";

Definition at line 86 of file vkb_layout.h.

#define KEYLIST_UPPER   "~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?";

Definition at line 87 of file vkb_layout.h.

Definition at line 84 of file vkb_layout.h.

#define SHIFT_KEY_LABEL   "Shift"

Definition at line 94 of file vkb_layout.h.

#define SPACE_KEY_LABEL   " "

Definition at line 97 of file vkb_layout.h.

#define TAB_KEY_LABEL   "Tab"

Definition at line 91 of file vkb_layout.h.


Typedef Documentation

typedef struct _vkb_layout_t vkb_layout_t
typedef enum _vkb_type_t vkb_type_t

Enumeration Type Documentation

Enumerator:
VK_invalid 
VK_movearea 
VK_quotedbl 
VK_1 
VK_2 
VK_3 
VK_4 
VK_5 
VK_6 
VK_7 
VK_8 
VK_9 
VK_0 
VK_minus 
VK_equal 
VK_q 
VK_w 
VK_e 
VK_r 
VK_t 
VK_y 
VK_u 
VK_i 
VK_o 
VK_p 
VK_bracketleft 
VK_bracketright 
VK_backslash 
VK_a 
VK_s 
VK_d 
VK_f 
VK_g 
VK_h 
VK_j 
VK_k 
VK_l 
VK_semicolon 
VK_apostrophe 
VK_z 
VK_x 
VK_c 
VK_v 
VK_b 
VK_n 
VK_m 
VK_colon 
VK_period 
VK_slash 
MAX_BASEKEY_NUM 
VK_invalid 
VK_movearea 
VK_quotedbl 
VK_1 
VK_2 
VK_3 
VK_4 
VK_5 
VK_6 
VK_7 
VK_8 
VK_9 
VK_0 
VK_minus 
VK_equal 
VK_q 
VK_w 
VK_e 
VK_r 
VK_t 
VK_y 
VK_u 
VK_i 
VK_o 
VK_p 
VK_bracketleft 
VK_bracketright 
VK_backslash 
VK_a 
VK_s 
VK_d 
VK_f 
VK_g 
VK_h 
VK_j 
VK_k 
VK_l 
VK_semicolon 
VK_apostrophe 
VK_z 
VK_x 
VK_c 
VK_v 
VK_b 
VK_n 
VK_m 
VK_colon 
VK_period 
VK_slash 
MAX_BASEKEY_NUM 
VK_invalid 
VK_movearea 
VK_quotedbl 
VK_1 
VK_2 
VK_3 
VK_4 
VK_5 
VK_6 
VK_7 
VK_8 
VK_9 
VK_0 
VK_minus 
VK_equal 
VK_q 
VK_w 
VK_e 
VK_r 
VK_t 
VK_y 
VK_u 
VK_i 
VK_o 
VK_p 
VK_bracketleft 
VK_bracketright 
VK_backslash 
VK_a 
VK_s 
VK_d 
VK_f 
VK_g 
VK_h 
VK_j 
VK_k 
VK_l 
VK_semicolon 
VK_apostrophe 
VK_z 
VK_x 
VK_c 
VK_v 
VK_b 
VK_n 
VK_m 
VK_colon 
VK_period 
VK_slash 
MAX_BASEKEY_NUM 

Definition at line 4 of file vkb_layout.h.

                       {
       VK_invalid  = -2,
       VK_movearea = -1,
       VK_quotedbl = 0,
       /* first line of keyboard */
       VK_1,
       VK_2,
       VK_3,
       VK_4,
       VK_5,
       VK_6,
       VK_7,
       VK_8,
       VK_9,
       VK_0,
       VK_minus,
       VK_equal,

       /* second line of keyboard */
       VK_q,
       VK_w,
       VK_e,
       VK_r,
       VK_t,
       VK_y,
       VK_u,
       VK_i,
       VK_o,
       VK_p,
       VK_bracketleft,
       VK_bracketright,
       VK_backslash,

       /* third line of keyboard */
       VK_a,
       VK_s,
       VK_d,
       VK_f,
       VK_g,
       VK_h,
       VK_j,
       VK_k,
       VK_l,
       VK_semicolon,
       VK_apostrophe,
       
       /* forth line of keyboard */
       VK_z,
       VK_x,
       VK_c,
       VK_v,
       VK_b,
       VK_n,
       VK_m,
       VK_colon,
       VK_period,
       VK_slash,

       MAX_BASEKEY_NUM
};
Enumerator:
VK_BackSpace 
VK_Tab 
VK_CapsLock 
VK_Enter 
VK_Shift_L 
VK_Control_L 
VK_Alt_L 
VK_Space 
VK_Escape 
MAX_CTRLKEY_NUM 
VK_BackSpace 
VK_Tab 
VK_CapsLock 
VK_Enter 
VK_Shift_L 
VK_Control_L 
VK_Alt_L 
VK_Space 
VK_Escape 
MAX_CTRLKEY_NUM 
VK_BackSpace 
VK_Tab 
VK_CapsLock 
VK_Enter 
VK_Shift_L 
VK_Control_L 
VK_Alt_L 
VK_Space 
VK_Escape 
MAX_CTRLKEY_NUM 

Definition at line 65 of file vkb_layout.h.

Enumerator:
KEYBOARD_STRING_TYPE 
KEYBOARD_KEY_TYPE 
KEYBOARD_STRING_TYPE 
KEYBOARD_KEY_TYPE 
KEYBOARD_STRING_TYPE 
KEYBOARD_KEY_TYPE 

Definition at line 79 of file vkb_layout.h.