-
-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/avm1: Added test for key.isToggled
- Loading branch information
1 parent
333009b
commit ee92376
Showing
5 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[ | ||
{ | ||
"type": "KeyDown", | ||
"key_code": 65 | ||
}, | ||
{ | ||
"type": "MouseDown", | ||
"pos": [10, 10], | ||
"btn": "Left" | ||
}, | ||
{ | ||
"type": "Wait" | ||
}, | ||
{ | ||
"type": "KeyDown", | ||
"key_code": 20 | ||
}, | ||
{ | ||
"type": "MouseUp", | ||
"pos": [1, 1], | ||
"btn": "Left" | ||
}, | ||
{ | ||
"type": "MouseDown", | ||
"pos": [1, 1], | ||
"btn": "Left" | ||
}, | ||
{ | ||
"type": "Wait" | ||
}, | ||
{ | ||
"type": "KeyDown", | ||
"key_code": 0 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
false | ||
true | ||
false | ||
true | ||
true | ||
true | ||
true | ||
true | ||
false |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
num_frames = 3 |