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

📄 input.h

📁 2D即时战略游戏VC源码
💻 H
字号:
/*==========================================================================
 *
 *  Copyright (C) 1995-1996 Microsoft Corporation. All Rights Reserved.
 *
 *  File:       input.h
 *  Content:    input routines include file
 *
 *
 ***************************************************************************/

#ifndef _INPUT_H
#define _INPUT_H

#include <dinput.h>
#include<windows.h>
//#include"ddraw.h"
//#include"dplay.h"

#include "duel.h"

BOOL            InitInput(HANDLE,HWND);
BOOL CALLBACK   DI_EnumDevProc(LPDIDEVICEINSTANCE lpdidi, LPVOID lpv);
DWORD            DI_ReadKeys(DWORD);
DIMOUSESTATE 	DI_ReadMouse(void);	
void            CleanupInput(void);
BOOL                    ReacquireInputDevices(void);
int ReadChar(void);

void UnAcquireKeyboard(void);


#endif // _INPUT_H



⌨️ 快捷键说明

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