联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Direct Input 8 Wrapper - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    Use this class to setup and handle input from keyboard, mouse, and one joystick.

    Instructions(DI only):

    Derive a class from CDirectInput8
    Override the input processing functions for each device used: HRESULT ProcessMouse(); HRESULT ProcessKB(); HRESULT ProcessJoy();(Don't forget to call base function at the beginning of each function.)
    Call "InitDI(HWND hWnd, HINSTANCE hInstance, DWORD ToUse)"
    The "ToUse" can take any combination of "USEMOUSE", "USEKEYBOARD", "USEJOYSTICK" flags depending on what devices you want to use


    Direct Input 8 Wrapper
    使用这个类配置和处理来自键盘,鼠标和游戏手柄的输入

    介绍(DI only):

    从CDirectInput8继承一个类
    Override每个装置输入处理函数: HRESULT ProcessMouse();HRESULT ProcessKB();HRESULT ProcessJoy();(每个函数的开始不要忘记调用基函数.)
    调用"InitDI"(HWND hWnd , HINSTANCE hInstance,DWORD ToUse)
    "ToUse" 可以是 "USEMOUSE","USEKEYBOARD"标志的任何组合,它你想使用什么装置

    来源: http://www.codeguru.com/directx/DirectInput8Wrapper.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    DirectInput8  1.0  2004-04-19 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/directx/DirectInput8.zip

      » 合 作 伙 伴