MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / update_cursor_position

Method update_cursor_position

src/model_manager.py:16–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 return self.puppet.model_x, self.puppet.model_y, self.puppet.model_width, self.puppet.model_height
15
16 def update_cursor_position(self):
17 x, y = self.wm_interface.get_cursor_position()
18 self.puppet.look(x, y)
19
20 def get_motions(self) -> list[str]:
21 return self.puppet.get_motions()

Callers 1

update_loopFunction · 0.80

Calls 2

get_cursor_positionMethod · 0.45
lookMethod · 0.45

Tested by

no test coverage detected