?? native.h
字號:
//// $Id: native.h,v 1.1 2000/11/26 07:18:59 ymwei Exp $//// native.h: the head file of native Low Level Input Engine //// Copyright (C) 2000,Song Lixin // Copyright (C) 2000, BluePoint Software.//// Created by Song Lixin, 2000/10/17//#ifndef GUI_IAL_NATIVE_H #define GUI_IAL_NATIVE_H#ifdef __cplusplusextern "C" {#endif /* __cplusplus */BOOL InitNativeInput (INPUT* input, const char* mdev, const char* mtype);void TermNativeInput (void);/* Interface to Mouse Device Driver*/typedef struct _mousedevice { int (*Open)(void); void (*Close)(void); int (*GetButtonInfo)(void); void (*GetDefaultAccel)(int *pscale,int *pthresh); int (*Read)(int *dx,int *dy,int *dz,int *bp);} MOUSEDEVICE;extern MOUSEDEVICE * mousedev;extern MOUSEDEVICE mousedev_GPM;extern MOUSEDEVICE mousedev_PS2;/* Interface to Keyboard Device Driver*/typedef struct _kbddevice { int (*Open)(void); void (*Close)(void); void (*GetModifierInfo)(int *modifiers); int (*Read)(unsigned char *buf,int *modifiers);} KBDDEVICE;extern KBDDEVICE kbddev;/* Mouse button bits*/#define BUTTON_L 04#define BUTTON_M 02#define BUTTON_R 01#define MIN_COORD -32767#define MAX_COORD 32767#ifdef __cplusplus}#endif /* __cplusplus */#endif /* GUI_IAL_NATIVE_H*/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -