首页 开发技术 C#     /    C#游戏手柄控制代码

C#游戏手柄控制代码

上传者: jok_219 | 上传时间:2023/12/15 18:24:22 | 文件大小:161KB | 文件类型:rar
C#游戏手柄控制代码
前些日子做开发的时候用到游戏手柄,这两天整理了一下。
这个代码是用C#编写的,希望对大家有所帮助。
编译环境是VS2010。
手柄的接口类型是DirectInput形式的,通过使用系统底层API函数来获取手柄状态。

文件下载

资源详情

[{"title":"(41个子文件161KB)C#游戏手柄控制代码","children":[{"title":"Jokstick","children":[{"title":"JoyKeys.suo <span style='color:#111;'>478.50KB</span>","children":null,"spread":false},{"title":"JoyKeysTest","children":[{"title":"JoyKeysTest.csproj <span style='color:#111;'>3.81KB</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"JoyKeysTest.vshost.exe.manifest <span style='color:#111;'>490B</span>","children":null,"spread":false},{"title":"JoyKeys.dll <span style='color:#111;'>16.50KB</span>","children":null,"spread":false},{"title":"JoyKeysTest.vshost.exe <span style='color:#111;'>11.33KB</span>","children":null,"spread":false},{"title":"JoyKeys.pdb <span style='color:#111;'>61.50KB</span>","children":null,"spread":false},{"title":"JoyKeysTest.pdb <span style='color:#111;'>33.50KB</span>","children":null,"spread":false},{"title":"JoyKeysTest.exe <span style='color:#111;'>14.00KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"FormTest.Designer.cs <span style='color:#111;'>12.07KB</span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'>495B</span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"JoyKeysTest.csproj.GenerateResource.Cache <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"JoyKeysTest.csprojResolveAssemblyReference.cache <span style='color:#111;'>14.74KB</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'>6.24KB</span>","children":null,"spread":false},{"title":"JoyKeysTest.pdb <span style='color:#111;'>33.50KB</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'>2.80KB</span>","children":null,"spread":false},{"title":"JoyKeysTest.Properties.Resources.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"JoyKeysTest.Form1.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"JoyKeysTest.FormTest.resources <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"JoyKeysTest.exe <span style='color:#111;'>14.00KB</span>","children":null,"spread":false},{"title":"JoyKeysTest.csproj.FileListAbsolute.txt <span style='color:#111;'>1.76KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"FormTest.cs <span style='color:#111;'>6.80KB</span>","children":null,"spread":false},{"title":"FormTest.resx <span style='color:#111;'>5.87KB</span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'>5.48KB</span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'>249B</span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'>1.32KB</span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'>1.07KB</span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'>2.81KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"JoyKeys.sln <span style='color:#111;'>2.60KB</span>","children":null,"spread":false},{"title":"JoyKeys","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"JoyKeys.dll <span style='color:#111;'>16.50KB</span>","children":null,"spread":false},{"title":"JoyKeys.pdb <span style='color:#111;'>61.50KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"JoyKeys.dll <span style='color:#111;'>16.50KB</span>","children":null,"spread":false},{"title":"JoyKeys.pdb <span style='color:#111;'>61.50KB</span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'>5.77KB</span>","children":null,"spread":false},{"title":"JoyKeys.csproj.FileListAbsolute.txt <span style='color:#111;'>2.92KB</span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"DirectInputJoy","children":[{"title":"API.cs <span style='color:#111;'>6.24KB</span>","children":null,"spread":false},{"title":"JoystickAPI.cs <span style='color:#111;'>8.68KB</span>","children":null,"spread":false},{"title":"Joystick_P.cs <span style='color:#111;'>12.10KB</span>","children":null,"spread":false},{"title":"JoystickEventArgs.cs <span style='color:#111;'>1.93KB</span>","children":null,"spread":false},{"title":"Joystick_V.cs <span style='color:#111;'>11.48KB</span>","children":null,"spread":false}],"spread":true},{"title":"JoyKeys.csproj <span style='color:#111;'>2.59KB</span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'>1.31KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qq_34851358:
    有参考价值!2019-01-24
  • 雷动九天A:
    很不错的资源,有参考价值2018-08-23
  • wcss2050:
    嗯,挺好的资源2018-07-08
  • fidelfb069:
    很不错的资源,有参考价值2018-03-14
  • human850:
    显示有病毒,一下载就被删除了。2018-02-27

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明