Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr committed Apr 12, 2023
1 parent 3305fd1 commit a9ed8e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ You can assume that you have access to the following functions:

1. Fork this repository and clone it to your local machine.
2. Get puterbot up and running by following the instructions in puterbot/README.md
3. Implement a Python function `generate_input_event(new_screenshot, input_events)`, where:
3. Implement a Python function `generate_input_event(new_screenshot, recording)`, where:
- `new_screenshot`: A `Screenshot` object representing the new screenshot.
- `input_events`: A list of `InputEvent` objects from the original recording, with each InputEvent having an associated Screenshot.
- `recording`: A `Recording` whose `.screenshots` property is a list of `InputEvent` objects from the original recording, with each InputEvent having an associated Screenshot.

This function should return a new `InputEvent` object that can be used to replay the recording, taking into account differences in screen resolution, window size, and application behavior.

Expand Down

0 comments on commit a9ed8e8

Please sign in to comment.