Introduction: The most user-selected, the simplest and easiest to use, the most stable and reliable Free forever The underlying integration of the system, true driver-level hardware simulation One-click installation, that is, add a pair of fully programmable keyboards and mice to the computer, easy and automatic operation of the computer Suitable for VB6, DELPHI, VC, BC, VB.NET, C#, JAVA, easy language and other programming languages Support WINXP and above 32-bit and 64-bit operating systems Essential for personal desktop applications and game studio installations In addition, it provides drivers that do not require a real keyboard and mouse version at all, as well as drivers that have been protected by NP and other protected versions
Recommend the others:
How to use DD: 32-bit compiled program calls DD32.dll (VB6, easy language), 64-bit compiled program calls DD64.dll (this dll can also be named arbitrarily). Then call the interface function.
Screenshot of the case effect:
Function description: All functions (unless otherwise specified) have parameters and return values of type int32
1. DD_btn (Parameters) Function: Simulates mouse clicks Parameters: 1 = Left-click press, 2 = Left-click release 4 = Right-click to press , 8 = Right-click to release 16 = Press the middle button , 32 = Release the middle button 64 = 4 keys to press , 128 = 4 keys to release 256 =5 key to press , 512 =5 key to release Example: Simulate the right mouse button only needs to write continuously (delay can be added in the middle) dd_btn(4); dd_btn(8);
2. DD_mov (parameter x, parameter y) Function: Simulates mouse pair movement Parameters: Parameter x, parameter y is the origin in the upper left corner of the screen. Example: Move the mouse to the middle of the screen with a resolution of 1920*1080, int x = 1920/2 ; int y = 1080/2; DD_mov(x,y) ;
3. DD_movR (parameter dx, parameter dy) Function: Simulates relative mouse movement Parameter: Parameter dx , parameter dy takes the current coordinates as the origin. Example: Move the mouse 10 pixels to the left DD_movR(-10,0) ;
4. DD_whl (Parameters) Function: Simulates a mouse wheel Parameters: 1 = Front, 2 = Back Example: Roll forward one block, DD_whl (1)
5. DD_key (parameter 1, parameter 2) Function: Simulates keyboard keys Parameters: For parameter 1, please refer to [DD Virtual Keyboard Table]. Parameter 2, 1 = press, 2 = release Example: Simulate TAB key, just write continuously (delay can be added in between) DD_key(300, 1); DD_key(300, 2);
6. DD_todc (parameter) Function: Convert Windows virtual key code to DD dedicated key code. Parameters: Windows virtual key code Example: int ddcode = DD_todc(VK_ESCAPE); Dim ddcode As int32 = DD_todc(27);
7. DD_str (Parameters) Functions: Directly enter characters and spaces visible on the keyboard Parameters: string, (note that this parameter is not of type int32) Example: DD_str("MyEmail@aa.bb.cc !@#$")
Postscript: Normal games and desktop operations are automated, and all mouse and keyboard simulation operations can be completed with only DD_btn, DD_mov, DD_whl, DD_movR four functions to control the mouse and DD_key one function to control the keyboard. (DD Enhanced is required for simulation in some games with protections) For local calls, the DD32.dll or DD64.dll path file names are saved in the registry as follows: HKEY_LOCAL_MACHINE\SOFTWARE\DD XOFT\path
C# demo code:
Download Address:
Tourists, if you want to see the hidden content of this post, please Reply
|