Files
godot-flecs-character-module/debug.py
2023-09-13 03:04:01 +03:00

6 lines
235 B
Python

def release_mouse (event):
gdb.write("GDB/godot: Releasing mouse\n")
gdb.execute("call OS::get_singleton()->set_mouse_mode(0)")
gdb.events.stop.connect(release_mouse)
gdb.write("GDB/godot: installed release mouse for godot\n")