⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keyboard.h

📁 新片介绍
💻 H
字号:
/* * $Id: keyboard.h,v 1.5 2003/04/11 09:41:19 weiym Exp $ * * key.h: head file of Key handling module. *  * Copyright (C) 2003 Feynman Software. * */#ifndef GUI_KEYBOARD_H  #define GUI_KEYBOARD_H #ifdef __cplusplusextern "C" {#endif  /* __cplusplus */#define VC_XLATE        0x0000   /* translate keycodes using keymap */#define VC_MEDIUMRAW    0x0001   /* medium raw (keycode) mode */#define VC_RAW          0x0002   /* raw (scancode) mode */#define VC_UNICODE      0x0004   /* Unicode mode */#define VC_APPLIC       0x0010   /* application key mode */#define VC_CKMODE       0x0020   /* cursor key mode */#define VC_REPEAT       0x0040   /* keyboard repeat */#define VC_CRLF         0x0080   /* 0 - enter sends CR, 1 - enter sends CRLF */#define VC_META         0x0100   /* 0 - meta, 1 - meta=prefix with ESC */typedef struct _key_info{    DWORD kbd_mode;    DWORD shiftstate;    DWORD oldstate;    int npadch;    unsigned char diacr;    int dead_key_next;        unsigned char type;    unsigned char buff[50];    int  pos;} key_info;typedef void (* INIT_KBD_LAYOUT) (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                unsigned int* accent_table_size_p, char*** func_table_p);typedef struct kbd_layout_info {    char* name;    INIT_KBD_LAYOUT init;} kbd_layout_info;void init_default_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                 unsigned int* accent_table_size_p, char*** func_table_p);#ifdef _KBD_LAYOUT_FRPCvoid init_frpc_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                 unsigned int* accent_table_size_p, char*** func_table_p);#endif#ifdef _KBD_LAYOUT_FRvoid init_fr_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                unsigned int* accent_table_size_p, char*** func_table_p);#endif#ifdef _KBD_LAYOUT_DEvoid init_de_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                unsigned int* accent_table_size_p, char*** func_table_p);#endif#ifdef _KBD_LAYOUT_DELATIN1void init_delatin1_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                unsigned int* accent_table_size_p, char*** func_table_p);#endif#ifdef _KBD_LAYOUT_ITvoid init_it_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                unsigned int* accent_table_size_p, char*** func_table_p);#endif#ifdef _KBD_LAYOUT_ESvoid init_es_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                unsigned int* accent_table_size_p, char*** func_table_p);#endif#ifdef _KBD_LAYOUT_ESCP850void init_escp850_kbd_layout (ushort*** key_maps_p, struct kbdiacr** accent_table_p,                unsigned int* accent_table_size_p, char*** func_table_p);#endif#ifdef __cplusplus}#endif  /* __cplusplus */#endif /* GUI_KEYBOARD_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -