📄 usbrpt.h
字号:
/***************************************************************************
* C Source Header File: USBRPT.H
*
* Copyright 2001 DeVaSys
* All rights are reserved.
* No part of this document may be reproduced, stored, or transmitted in any
* form or by any means without the prior written permission of DeVaSys
*
* Description:
*
* This header contains declarations for the USBRPT.C module.
*
* ........................ Revision History ................................
*
* Creation date: 02/22/2001 - Michael A. DeVault, DeVaSys
*
* Revision History Summary:
*
* Rev 1.0 22 February 2001 12:00:00 mad
* Initial revision.
*
***************************************************************************/
// the following ifndef is for skipping double includes of this header file
#if !defined(__USBRPT_H)
#define __USBRPT_H
#include "portable.h"
#define MAX_REPORTS 1 // total number of defined reports
#define RT_INPUT 1 // report type INPUT
#define RT_OUTPUT 2 // report type OUTPUT
#define RT_FEATURE 3 // report type FEATURE
extern BOOL bLastReportRead;
extern BOOL bGenData;
typedef packed struct _REPORT {
// void * pvReport;
// BYTE byLen;
BYTE byType;
BYTE byIdle;
} REPORT, *PREPORT;
extern REPORT Rpt[MAX_REPORTS];
typedef packed struct _MOUSE {
char cX;
char cY;
BYTE byButtonsAndPad;
} MOUSE, *PMOUSE;
extern MOUSE RptMouse;
// exported function prototypes
extern void GenReport(void);
// following endif is for skipping double includes of this header file
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -