MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / key_down

Method key_down

test/python/binding_test.py:663–666  ·  view source on GitHub ↗
(self, keycode: int)

Source from the content-addressed store, hash-verified

661 return True
662
663 def key_down(self, keycode: int) -> bool:
664 print(f" on MyController.key_down: {keycode}")
665 self.count += 1
666 return True
667
668 def key_up(self, keycode: int) -> bool:
669 print(f" on MyController.key_up: {keycode}")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected