commit daf17bcfd7ceef08f0bc84faba61e809418089f9 Author: 觉 Date: Fri Feb 9 01:03:35 2024 +0800 init diff --git a/dm.dll b/dm.dll new file mode 100644 index 0000000..39bb241 Binary files /dev/null and b/dm.dll differ diff --git a/main.java b/main.java new file mode 100644 index 0000000..f719422 --- /dev/null +++ b/main.java @@ -0,0 +1,11 @@ +public class Main { + static { + System.load("dm.dll"); + } + + public static void main(String[] args) { + // 使用大漠dll 控制鼠标移动到屏幕中心位置 + DM dm = new DM(); + dm.MoveTo(960, 540); + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..3047bdb --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "name": "dm", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "license": "ISC" +} diff --git a/大漠接口说明.CHM b/大漠接口说明.CHM new file mode 100644 index 0000000..222b308 Binary files /dev/null and b/大漠接口说明.CHM differ diff --git a/注册大漠插件到系统.bat b/注册大漠插件到系统.bat new file mode 100644 index 0000000..485c456 --- /dev/null +++ b/注册大漠插件到系统.bat @@ -0,0 +1 @@ +regsvr32 dm.dll \ No newline at end of file