1

有谁知道可以在 directX 游戏中移动鼠标的 Python 模块?

我已经尝试过 Ctypes 和 Hammonds win32 模块,但由于 DirectInput 阻止普通 python 模块访问鼠标,它们在 directX 中不起作用。

是否有使用 HID 仿真的解决方法或模块?

4

1 回答 1

0

我认为 DirectPython 11 API 有你正在寻找的东西。 直接Python 11

核心 d3d11 模块有一个名为setCursorPos(int x, int y)的方法

于 2012-03-23T17:03:26.350 回答