#๐Ÿ”’ Mouse Movement through ghub

9 messages ยท Page 1 of 1 (latest)

copper warrenBOT
#

@jagged scroll

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

jagged scroll
#
[DEBUG] Trying to open device: \??\ROOT#SYSTEM#0002#{1abc05c0-c378-41b9-9cef-df1aba82b015}
[ERROR] Could not initialize device: (2, 'CreateFileW', 'Das System kann die angegebene Datei nicht finden.')
[DEBUG] Trying to open device: \??\ROOT#SYSTEM#0001#{1abc05c0-c378-41b9-9cef-df1aba82b015}
[INFO] Device handle created: <PyHANDLE:568>
[INFO] Device open. Sending mouse move command...
[DEBUG] MOUSE_IO Structure: button=0, x=100, y=200, wheel=0
[DEBUG] Calling DeviceIoControl...
DeviceIoControl - Status: 1, BytesReturned: 0
[INFO] DeviceIoControl success: 1
[INFO] Mouse movement sent successfully.
[INFO] Device handle closed.

thats the output

dreamy valley
#

lemme ask this: is your goal to use ctypes to manipulate the mouse

#

or to just manipulate the mouse

copper warrenBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.