ps2keybd.hpp

来自「WinCE 3.0 BSP, 包含Inter SA1110, Intel_815」· HPP 代码 · 共 46 行

HPP
46
字号
/* -*-C-*-
 *
 * $Revision: 1.1 $
 *   $Author: kwelton $
 *     $Date: 2000/04/12 00:50:42 $
 *
 * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
 * ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
 * PARTICULAR PURPOSE.
 *
 * Copyright (c) 1995-1998  Microsoft Corporation
 * Copyright (c) 2000 ARM Limited
 * All Rights Reserved
 */

#ifndef integrator_ps2keybd_hpp
#define integrator_ps2keybd_hpp

#include <windows.h>

class Ps2Port;

class Ps2Keybd
{
    Ps2Port *m_pp2p;
    HANDLE m_hevInterrupt;

public:
    BOOL Initialize(Ps2Port *pp2p);

    BOOL IsrThreadStart(void);

    BOOL IsrThreadProc(void);

    friend int WINAPI KeybdPdd_GetEventEx(UINT32 VKeyBuf[16],
                                          UINT32 ScanCodeBuf[16],
                                          KEY_STATE_FLAGS KeyStateFlagsBuf[16]);

    friend void WINAPI KeybdPdd_ToggleKeyNotification(KEY_STATE_FLAGS KeyStateFlags);
};

#endif /* ndef integrator_ps2keybd_hpp */

/* EOF ps2keybd.hpp */

⌨️ 快捷键说明

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