代码搜索:GetKeyState
找到约 110 项符合「GetKeyState」的源代码
代码结果 110
www.eeworm.com/read/449903/7494619
c game.c
/*
game.c
游戏主要程序文件
最后修改: 2007-06-19
*/
#include
#include
#include "graph.h"
#include "key.h"
#include "char.h"
#include "map.h"
#include "player.h"
#inclu
www.eeworm.com/read/436888/7759347
cpp chronometre.cpp
#define _WIN32_WINNT 0x0500 // Windows 2000 et sup閞ieur
#include
// D閒inition des identificateurs:
#define WM_SHELLNOTIFY WM_APP +1
#define ID_TRAY 1000
#define ID_QUIT 1001
www.eeworm.com/read/327027/13103163
cpp tank.cpp
// tank.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "tank.h"
#include "tankDlg.h"
#include "BeginDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef
www.eeworm.com/read/325538/13197756
cpp tank.cpp
// tank.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "tank.h"
#include "tankDlg.h"
#include "BeginDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef
www.eeworm.com/read/436216/7775083
txt 杨老师最痛苦的bug.txt
杨老师最痛苦的BUG之一,与大家分享
(杨老师发表于2004-12-15 14:52:48)
某年,某月,某日。
一个 long long age 正常的程序,突然在某台计算机上运行错误。遂调试之......
经过N小时,逐步缩小范围,并书写调试代码,居然是:刚把一些数据写进一块内存后立刻读出,就是不对。
恍然大明白了......为了证明我的判断,进入DOS:
copy fil ...
www.eeworm.com/read/409992/11305217
makefile
# $Id: Makefile,v 1.6 2006/01/13 17:42:30 fc Exp $
CFILES = \
keyboard_initialise.c \
keyboard_isr.c \
keyboard_getkeystate.c
AFILES = $(CFILES:.c=.asm)
OBJECTS = $(CFILES:.c=.o)
all:
www.eeworm.com/read/124561/6045659
cpp keyboard.cpp
#include "runner.h"
int g_iKey[MAX_RKEY];
VOID GetRKeyState()
{
int i;
UINT16 r;
for(i = 0 ; i < MAX_RKEY ; i++) g_iKey[i] = 0;
//字母键
for(i = RKEY_A ; i
www.eeworm.com/read/104449/15692472
cpp keyboard.cpp
#include "runner.h"
int g_iKey[MAX_RKEY];
VOID GetRKeyState()
{
int i;
UINT16 r;
for(i = 0 ; i < MAX_RKEY ; i++) g_iKey[i] = 0;
//字母键
for(i = RKEY_A ; i
www.eeworm.com/read/409992/11305232
h keyboard.h
#ifndef __KEYBOARD_H__
#define __KEYBOARD_H__
#include
extern void __LIB__ KEYBOARD_Initialise( void );
extern void __LIB__ KEYBOARD_ISR( void );
extern unsigned char __LIB_
www.eeworm.com/read/161842/10363022
h tools.h
#ifndef TOOLS_H
#define TOOLS_H
///////////////////////////////////////////////////////////////////////////////
// Usefull macros
//
#define KEYDOWN(Key) ((GetKeyState(Key)&0x8000)!=0)
#defi