What version of DirectX SDK do you have installed? Thanks. Q&A for work. I've deleted all other add-on . You signed out in another tab or window. Posts made by Empuries2020. 设置DirectInput的步骤:. 已解决:RTSS的hook dll引起unitymain线程无效访问退出了,日志见贴内. Action. AND Microsoft Visual C++ Redistributable Package for Visual Studio 2015 (x64). Either change your project settings to use ANSI encoding instead of Unicode or change the relevant parts of your code accordingly. lib' After installing the DirectX SDK, I kept getting the error. 5. The DirectInput API is used to process data from a joystick, or other game controller. Additional details about dinput8. Hook_DirectInput8Create_Execute NVSE DLL DoPreLoadGameHook: systemsave William. Amino. Microsoft MVP (Visual C++) Polymorphism in C. 💖 Thank you ! 💖. Other possibilities could be UAC or a folder permissions security issue. So then you'll need to send message with your applicaton to GlovePIE and it will generate input on Kernel level, so this will work in DirectX games. h. 与使用 DirectInput 相比,使用 XInput 有几个优点:. Thank you! I hadn't even thought to add the . GetModuleHandle (NULL) is good for an SFML app. LIBRARY "d3d9"EXPORTS Direct3DCreate9 = hookDirect3DCreate9 @1 DirectInput8Create = hookDirectInput8Create @2 But hookDirectInput8Create doesn't get called. It is probably __stdcall DirectInput8Create and it will take 20 bytes worth of parameters. WRN: Assembly binding logging is turned OFF. Pastebin. unresolved external symbol "int __stdcall EnumDevicesCallback (struct DIDEVICEINSTANCEA const *,void *)". There are several advantages to using XInput over DirectInput: XInput is easier to use and requires less setup than DirectInput. To create a DirectX 7. Is there something obvious I'm missing?Docummentation for DirectInput8Create says that third param is IID_IDirectInput8. When you open the page, go to the "Help with games" section in order to find the right path to look for help. 1) Hook the "DirectInput8Create" import from "dinput8. HRESULT DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riidltf, LPVOID * ppvOut, LPUNKNOWN punkOuter); Parameters hinst Instance handle to the application or dynamic-link library (DLL) that is. #if DIRECTINPUT_VERSION > 0x0700 extern HRESULT WINAPI DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riidltf, LPVOID *ppvOut, LPUNKNOWN punkOuter); #else extern HRESULT WINAPI DirectInputCreateA(HINSTANCE hinst, DWORD dwVersion, LPDIRECTINPUTA *ppDI,. DI2XInput - A DirectInput to XInput converter. DirectInput8Create_Type OldFn = (DirectInput8Create_Type)D3DHook. dll with its DirectInput8Create function return Muhammad's MyDirectInput8. The article's example of how to do this is as follows:. h","path":"dinput8/AddressLookupTable. Below is what I have so far; #include <iostream> using namespace. Sunday, June 10, 2012 12:03 PM. cpp","path. log : // GTA V ASI LOADER (build May 2 2015) // (C) Alexander Blade 2015 LIB: "C:WINDOWSsystem32dinput8. Callback Functions (DirectInput) DirectInput Functions. #define. so it probably needs you to make a configuration change to exist (can't really recall). 2. {"payload":{"allShortcutsEnabled":false,"fileTree":{"src":{"items":[{"name":"IAMMediaStream","path":"src/IAMMediaStream","contentType":"directory"},{"name":"IDirect3D. dll. ScriptHook Failed to load. C++ (Cpp) DirectInput8Create - 30 examples found. You'll still have your old x64e. Members. DirectInput - bad parameters w/ DirectInput8Create Graphics and GPU Programming. This is part of a class. e. DirectInput Structures. Version 3. dll to dinput8. net and menyoo at last, and as they should, they worked. This would require additional dll in my solution only for solving this simple task. I honestly don't know anything about DirectX so I may be way off. If a device that requires polling is not polled periodically, no new data is received from the device. asi enabled. 0 SDK (August 2005)Include" and "C:Program FilesMicrosoft DirectX 9. So, I removed everything except openiv and the two openiv mods, wov and improvements in gore 3, they load and work just fine, also its a little odd i used to need the packfile limit adjuster and heaplimit adjuster but now i don't, but the asi loader still will only load openiv. The window associated with the device must not be destroyed while it is still active in a DirectInput device. dll. 0 for Managed Code. Ok so I'm attempting to do some hooking of DirectInput8create. kb->SetCooperativeLevel (GetConsoleWindow (), DISCL_FOREGROUND | DISCL_NONEXCLUSIVE); Here is an. I'm using Visual Studio 2008 and Microsoft DirectX SDK (June 2010) i have managed to compile and run different direct x projects but this particular one is not working. 9,607. To fix this issue, I suggest you try the following steps: 1->Link to the Dinput8. asi , i removed openinteriors and my trainerv, but for some reason im having. Version 3. Quick access. hinst = hinstance. 2 (or higher, so skip this step on Windows 10) AND Microsoft Visual C++ Redistributable Package for Visual Studio 2013 (x64). This DLL exports 2 functions, InstallHook and RemoveHook. where GTA5. If you delete dinput8. I've also Open IV linked with my game library with OpenIV. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Windows: . No branches or pull requests. my code is old and broke. 2. These are the top rated real world C++ (Cpp) examples of LPDIRECTINPUTDEVICE8::SetCooperativeLevel extracted from open source projects. Teams. I took out the #include <dinput. C++ (Cpp) LPDIRECTINPUTDEVICE8::SetCooperativeLevel - 30 examples found. As of January 17 -2011 I started receiving this message " The procedure entry point could not be located in the dynamic link library kernel32. 您好,我是Jarl,一名独立顾问 (Independent Advisor) 和Windows 10的资深用户,很荣幸能为您提供技术支持。. fos saving to . dll" => 00007FFFE9E90000. I have all my injection working and I have hooked several other API calls without issue. DirectInput8Create failed: 80004005 Execution could not continue. I'm still on the 10 minute post timer. Answers. Both Xbox and Windows programming will use the same sets of core APIs, allowing programming to translate cross-platform much easier. API: "DirectInput8Create". I'm going to guess this is a Windows issue. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. net is your resource for game development with forums, tutorials, blogs, projects, portfolios, news, and more. A google search shows that these errors are caused by a missing file namely dinput8. 0 for Managed Code reference interface for Windows Desktop applications. {"payload":{"allShortcutsEnabled":false,"fileTree":{"dinput8":{"items":[{"name":"DirectInputModuleManager. 1 SDK. You just cannot mix char with wchar_t. If so, goto speedsouls and learn how to downpatch your game to a version that works. Marked as answer by May Wang - MSFT Friday, November 14, 2014 8:38 AMI can hit F4 once, nothing. 0, as I have personally tested it. For a more comprehensive view of how. In order to load asi plugins you need to have asi loader installed, you can download it separately or use the latest version that comes. Perhaps have the application loop (call something like Sleep(100); in the mean time) and keep trying until it finally acquires the mouse. {"payload":{"allShortcutsEnabled":false,"fileTree":{"src":{"items":[{"name":"external","path":"src/external","contentType":"directory"},{"name":"dllmain. Then I alter the vtable to hook CreateDevice which also works, my version of CreateDevice gets called successfully. DirectInputCreate (Windows CE 5. Click copy to mods. I have all my injection working and I have hooked several other API calls without issue. Sky reflections not appearing on water surface (after replacing water textures with translucent shader) 0. Ok so I'm attempting to do some hooking of DirectInput8create. Here is my code: HRESULT Result; Result =. lethinh282. IDirectInput8 is an interface to a new class of object, represented by the class identifier CLSID_DirectInput8, and cannot be obtained by calling QueryInterface on an interface to objects of class CLSID_DirectInput. These are the top rated real world C++ (Cpp) examples of LPDIRECTINPUT8 extracted from open source projects. To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog. Connect and share knowledge within a single location that is structured and easy to search. Does it help if you move ‘using namespace’ directives to the body of GameDevice constructor and maybe do not use ‘extern “C”’?The D3DX utility library (D3DX 9, D3DX 10, and D3DX 11), including Effects, is deprecated for UWP. -GamerAlan. exe. So i did some research and i think Shaiya needs DirectInput. dll 👍 1 elmindreda reacted with thumbs up emojiInstall Microsoft . . Displays property pages for connected input devices and enables the user to map actions to device controls. exe Base: 400000 Log Added: Searching dinput8. After you create the device object, you do any necessary configuration, such as calling the SetCooperativeLevel method. You can do this most easily by calling the. Link to the Dinput. Improve this question. com. After that check to see what came out, make sure 2 . dll). dll. txt. 1. h). h","path":"dinput8/DirectInputModuleManager. // DirectInput8Create wrapper for dinput8. lib files to the file, let alone realize that the DxErr. dll in my GTAV folder, the game will not launch. I have placed the asi file under. To fix this issue, I suggest you try the following steps: 1->Link to the Dinput8. So why does Acquire() fail on my deviHRESULT WINAPI Hooked_DirectInput8Create(HINSTANCE hinst, DWORD dwVersion, REFIID riidltf, LPVOID* ppvOut, LPUNKNOWN punkOuter) {STATIC_FUNCTION_HOOK(DirectInput8Create, Hooked_DirectInput8Create); HRESULT hResult = CALL_ORIGINAL(hinst, dwVersion, riidltf, ppvOut, punkOuter);Quote:Original post by _Ethan_EDIT3: Well well well, turns out that the mouse was being controlled by SetCursorPos, so i just had to hook that and bam! I could move the cursor. {"payload":{"allShortcutsEnabled":false,"fileTree":{"dinput8":{"items":[{"name":"AddressLookupTable. I have the latest version of both ScripthookV and GTAV on steam. So you need to either link with dinput8. NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput. dll: 623e0000 ! Log Added: Searching GetDeviceState. lib". cpp","contentType":"file"},{"name. , although it does it called when I change the LIBRARY to "dinput8" and changed the dll name from d3d9. I am only wanting to do a 'pass-through' of the API call. I've also tried just running scripthookv with native. GameDev. The GUID is retrieved through the IDirectInput8::EnumDevices method, or it can be one of the predefined GUIDs listed below. Xbox 和 Windows 编程都将使用相同的核心 API 集,这使得编程能够更轻松地跨平台转换. dll, but the DirectInput hook's not working, which is why. I've gotten some help and narrowed down a solution to this, which was: " Try GetDeviceState hk just memset (buffer, 0, size) or SendDeviceData ". Started by Harvester944 March 28, 2005 09:34 PM. I also need the way to compile the whole. 另一方面,正是由于. I would like to create DLL, CLI/C++ Class library with DirectX - DirectInput functions. Sometimes it moves and sometimes it doesn't move at all. steamappscommonRed Dead Redemption 2. @Frisky Delete AdvancedHookV. The ID3DXBuffer interface is obtained by calling the D3DXCreateBuffer function. fos NVSE DLL DoPostLoadGameHook: systemsave William. AA ingame is disabled, and the dsfix is not configurated. fos NVSE DLL DoPreLoadGameHook: Save 3 Nora Doc Mitchell s House 00 09 04. DirectInput8初探 - 键盘篇. Capturing device input using Microsoft DirectInput can be done in three simple steps. API: "DllCanUnloadNow" => 00007FFE57AD93C0. That complete cleared that up. IDirectInput8::CreateDevice. That seems odd; I don't really sDINPUT8. I dont know the mod, but if it didnt receive and update after 18. The thing that is bothering me is that it was working yesterday. Errors running a DX9 program. Hi Jimette, The DirectInput object created by DirectInput8Create function is implemented in Dinput8. Currently I can't get the variables correct on this call. Usually Unresolved External Symbol is thrown if you are using a function defined in a header, in your case I think d3d9. 8. hit F4 twice "CASM is saving" message but no new save. #include <Windows. NET Framework 4. 1; RTX 3090 24g; 531. 첫번째, HRESULT DirectInput8Create(HINSTANCE hInst, DWORD dwVersion, REFIID riidltf, LPVOID* ppvOut, LPUNKNOWN punkOuter); hInst 는 해당 윈도우의 인스턴스 핸들을 대입해 주며, dwVersion은 DirectInput의 . This section provides information about the Microsoft DirectInput component of the Microsoft DirectX application programming interface (API). This parameter must be a valid top-level window handle that belongs to the process. My guess is the mod support files scripthookV and scripthookV . h header file anymore, and I can't even initialize DirectInput >=( here's my code snippet that doesn't compile: #define DIRECTINPUT_VERSION 0x0800 #include <dinput. dll. Same result. asi enabled. These are the top rated real world C++ (Cpp) examples of IDirectInputDevice8::SendDeviceData extracted from open source projects. 6. All DirectX games for UWP drive the graphics pipeline using HLSL without Effects. This is loading a C++ dll I wrote (DInputPluginNative. 另一方面,正是由于. dll" => 00007FFE57AC0000 API: "DirectInput8Create" => 00007FFE57ACA050 API: "DllCanUnloadN. These are the top rated real world C++ (Cpp) examples of LPDIRECTINPUT8 extracted from open source projects. 0. Asking for help, clarification, or responding to other answers. DirectInput8Create. For the sake of brevity, I am only posting a few functions. Setting up x360ce consists of copying a single small . In order to Send Keys with DirectInput window needs focus. Guys, I can't figure this out for the life of me. - GitHub - amerkoleci/Vortice. This is replicating the "sleep-workaround", but with a cleaner use of hooks. vcxproj","path":"DirectInput/Joystick/Joystick_2019. It just needs the instance handle in DirectInput8Create (). h","contentType":"file. Basically, since my DLL does TONS of stuff at runtime, it took about 4 seconds before trigger the DllMain' return. asi and ELS. dll. I get C2872, 'FILETIME' ambiguous symbol in SETUPAPI. NET I'm pretty sure it's not a conflict of mods just the fact that script hook . Perhaps have the application loop (call something like Sleep(100); in the mean time) and keep trying until it finally acquires the mouse. net and dx9 Cancel Save "Better to be king for a night than a schmuck for a lifetime" aker_jus. asi enabled. The main component is DirectInput-Hook. 어떤 버전을 사용 할 것인지를 나타내는데, 보통 최신버전을 사용한다는 의미로I hope I dont sound dumb asking this but, has directinput8 been removed in the august update? there isn't a dinput8. LIBRARY "d3d9"EXPORTS Direct3DCreate9 = hookDirect3DCreate9 @1 DirectInput8Create = hookDirectInput8Create @2 But hookDirectInput8Create doesn't get called. dose anyone have a link to a tutorial on how to do DirectX9 Input? DirectInput is a relatively easy API to learn, all that you would need to know is included in the DirectX SDK documentation. Crashes when the dotnet files are there, doesn't when they aren't. First you create a Device object that represents the input device you wish to capture. The ASI loader is actually dinput8. You can rate examples to help us improve the quality of examples. I can load into my game with the dlclist edited but it acts like there are no addons present in my game. hinst gets it value from the hinstance of the program (Config. Chris D’Annunzio 11/17/2003 Page 1 of 4 Keyboard Input Using DirectInput Introduction This is a quick set of instructions for using DirectInput to get basic keyboard inputI've also Open IV linked with my game library with OpenIV. It is installed as an option with OpenIV and it is packaged in the bin folder of the ScriptHookV package. DirectInput is an API for input devices including the mouse, keyboard, joystick, and other game controllers, as well as for force-feedback (input/output) devices. Nope. Here is the code for handling multiple keyboards with raw input. dll ". Provide details and share your research! But avoid. s The Gta. log (Version 1. I already checked if Character Swap and Menyoo are activated with the same key, and they're not, Menyoo is in F8 and CS is in F6, I also have native trainer but pressing F4 does. {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"config","path":"config","contentType":"directory"},{"name":"inc","path":"inc","contentType. Proposed as answer by Helen Zhao Monday, June 11, 2012 3:59 AM. Versions of interfaces earlier than DirectX 8. lib. @JohnFromGWN Hey, I resolved the problem, i deleted all mod related files and reinstalled them in the order i've seen on the forum, and added the ScripthookV. API: "DirectInput8Create" => 00007FFE57ACA050. h> DiQuite a few suspension errors, but I didn't properly set it up yet anyways (I changed the suspension geometry, but the spring and dampening values are still from the Formula K). I am producing some portion the opensource code here. I've gotten some help and narrowed down a solution to this, which was: " Try GetDeviceState hk just memset (buffer, 0, size) or SendDeviceData ". ERROR: Material::getVar CANT FIND VAR boh for shader RT_DRIVER_Face. Click copy to mods. yft's and a . However, after reverting it and applying a hook/detour from a dll injected via ijl15, the missed CoInitialize call still laughs at us: This browser is no longer supported. and ELS. For some bizarre reason, DirectInput8Create repeatedly fails and returns "E_POINTER" - which would seem to indicate an invalid pointer, however, having found no information on the web about a method to pre-create LPDIRECTINPUT8, I don't know why I'd be getting this problem. In the example you linked to, "DirectInput8Create" is called with it as an argument, so possibly that's what initializes it and you need to make sure that is called before you try to dereference it. cpp at master · serpentiem/ddmkI have been trying to figure out the purpose of one argument in a DirectInput8 hooking project. Installation. x or DirectX 9. dll and loading the original dinput8 library when it gets imported good enough? We're not even using direct input for anything, just as a way to get a. Set it somewhere you can find it. If the method returns DI_BUFFEROVERFLOW, the data in the rgdod array has been truncated. Plz help. -DoomsdayBusiness in SP. Additional resources. To listen, I initiate direct input with DirectInput8Create (). lib. GameDev. You switched accounts on another tab or window. -DoomsdayBusiness in SP. NET Framework 4. Ive installed both multiple times, tried multiple trainers, none of them fucking work. h and dinput. AND Microsoft Visual C++ Redistributable Package for Visual Studio 2015 (x64). cpp","path. None of the following work: DirectInputCreate () DirectInput8Create (); DirectInputCreateEx ();Also, all DIRECTX3 commands structures, and variables had to be updated to DIRECTX8 eg. dll" => 00007FFE57AC0000. x360ce. C++ (Cpp) LPDIRECTINPUT8 - 30 examples found. I just started beta testing my product and am getting this problem from a user running Windows 10 and am wondering if anyone might have run into this before. rpf file, but use that to extract (or export, maybe) any car models that you want to return to normal state from there. You have a choice of identifying keys using either virtual key codes or scan codes (see KEYBDINPUT. dll" =>. The MSDN documentation for IDirectInputDevice8::SetEventNotification() gives you relevant code snippets. Pastebin is a website where you can store text online for a set period of time. The DirectInput object created by DirectInput8Create function is implemented in Dinput8. So as you said a temporary pointer to a pointer to an (in this case and object). Just instant crash on startup after a few seconds of a black screen. dll, but the DirectInput hook's not working, which is why I'm here. dll, but the DirectInput hook's not working, which is why. Sky reflections not appearing on water surface (after replacing water textures with translucent shader) 0. rpf file, but use that to extract (or export, maybe) any car models that you want to return to normal state from there. If you have another a copy in any another directory you need to change the game folder directory in openIV from Tools->options->Game->GTA V Directory there you can see change directory option. Versions of interfaces earlier than DirectX 8. Forums home; Browse forums users; FAQ; Search related threadsIt is a toolkit that helps developers to efficiently convert from C to managed P/Invoke signatures or verse visa. . The DirectInput object created by DirectInput8Create function is implemented in Dinput8. 扱っていくのはDirectInputを使って行きます。. Quote: Original post by MrRage crap. I ran into the error fatal error LNK1181: cannot open input file 'dinput. 61; Steam: Build Label: 7671541 # Uniquely identifies each build Capturing device input using Microsoft DirectInput can be done in three simple steps. ] This function creates and initializes an IDirectSound. 1000瓶药水,其中至多有1瓶剧毒,现在给你10只小狗在24小时内通过小狗试药的方式找出哪瓶药有毒或者全部无毒(小狗服完药20小时后才能判断是否中毒)(2)extern DirectInput8Create_t OriginalFunction; extern HMODULE DInput8DLL; extern " C " {DINPUT8_API HRESULT DirectInput8Create (HINSTANCE hinst, DWORD dwVersion, REFIID riidltf, LPVOID * ppvOut, LPUNKNOWN punkOuter);} Copy lines Copy permalink View git blame; Reference in new issue; Go FooterGame Keeps Crashing, Using Mods and Menyoo. I have to hit it a LOT to make it save again. cpp","path":"proxy/device. asi , i removed openinteriors and my trainerv, but for some reason im having. I have everything I've always had in modding. Connect and share knowledge within a single location that is structured and easy to search. Don't think that's causing my issues though. GameDev. h in DInputHook, // It is a redefinition, so we assign an export by not using the. Asking for help, clarification, or responding to other answers. (which was basically just ignoring potential invalid values from DirectInput8Create I guess) We don't have the old Sleep() trick implemented, so that should be all. Given that there is a documented function that meets that description, I think that is very likely. As for your problem It might be your hInstance parameter or the versDirectInput8Create(hinst, DIRECTINPUT_VERSION, ID_IDirectInput8, void**)&mainObject, NULL); where mainObject is of type IDirectInput8* "Now go away or I shall taunt you a second time" - Monty Python and the. Quote:Original post by rewtI am using direct input with the DirectX August 2005 update and the dinput. -DoomsdayBusiness in SP. user11548. -SinglePlayerApartments. 5 this way without problems. The chances are high that there is a Blocked file related to. Call DirectInputCreateEx instead of DirectInput8Create. Definitely anywhere you used to use DirectInput you should now use Raw Input. I've also tried just running scripthookv with native. h>. Try temporarily disabling your antiviral software. Open the DirectX control panel. Threats include any threat of suicide, violence, or harm to another. Provide details and share your research! But avoid. For some weird reason my AdvancedHookV. I have DirectInput8Create hooked to get the LPDIRECTINPUT8 pointer to the input being created. exe: 0xC0000005: Access violation readReference material for the DirectInput C/C++ API is divided into the following categories. cpp","path":"MinimalDInput8Hook/CustomHooks. dll, but the DirectInput hook's not working, which is why I'm here. fos Reading mod list from co-save Loading array variables Loading strings NVSE DLL DoLoadGameHook: systemsave William. DirectInput uses this value to determine whether the application or DLL has been certified and to establish any special behaviors that might be necessary for backward compatibility. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible. h>HRESULT hr = DirectInput8Create(hOr, instead of #define INITGUID, you could just link with dxguid like Quantum suggested above. 0 cannot be obtained in this implementation. UWP game shaders are compiled ahead of time. However the SDK only comes with dinput. Nothing found. Fixed a crash when starting the game with a controller connected. dll are the newest version and from the official source. lib files are in my "C:Program FilesMicrosoft DirectX 9. GameDev. lib. So, I removed everything except openiv and the two openiv mods, wov and improvements in gore 3, they load and work just fine, also its a little odd i used to need the packfile limit adjuster and heaplimit adjuster but now i don't, but the asi loader still will only load openiv. Sep 25, 2019 @ 3:52am. C++ (Cpp) IDirectInputDevice8::SendDeviceData - 1 examples found. Go to open the. Retrieves data from polled objects on a DirectInput device. Pastebin. *No scripthookvdotnet log file is appearing. Hit it again nothing. None of my scripts in the folder are working, when I check the asilog says this: // GTA V ASI LOADER (build May 2 2015) // (C) Alexander Blade 2015 LIB: "C:WINDOWSsystem32dinput8. It is only the DX calls that are causing me grief. dwFlags ). lib file would need to be included. asi aren't loading. It's not, it's the 2015 version. Improve this answer. rpf file and updating my trainer I went into the game just to find out that the trainer doesn't work, I can't pull up the trainer menu. Due this reason, my DirectInput8Create were taking several seconds before send the return; Too much time. DirectInput8Create. . I found a suggestion to change from. h, but you haven't linked the containing implementation lib. A tag already exists with the provided branch name. You can wait on the event, and then once you have the notification,. I've also tried just running scripthookv with native. API: "DirectInput8Create" => 00007FF962889C70. You should use Windows messages instead . DirectInput是Directx的一个组件接口,提供了大量的接口函数处理用户在键盘,鼠标,游戏杆以及力反馈等游戏装置上的输入,而且 DirectInput是直接与硬件驱动程序打交道,因此DirectInput可较快的处理用户的输入。.