Fix background MCP input and add mirror dungeon feedback records
This commit is contained in:
@@ -33,5 +33,8 @@ class FakeEngine(Engine):
|
|||||||
def keypress(self, key):
|
def keypress(self, key):
|
||||||
self.actions.append(('key', key))
|
self.actions.append(('key', key))
|
||||||
|
|
||||||
|
def drag(self, from_x, from_y, to_x, to_y, duration=1.0):
|
||||||
|
self.actions.append(('drag', from_x, from_y, to_x, to_y, duration))
|
||||||
|
|
||||||
def type_text(self, text):
|
def type_text(self, text):
|
||||||
self.actions.append(('type', text))
|
self.actions.append(('type', text))
|
||||||
|
|||||||
Reference in New Issue
Block a user