tests/avm1: Added test for key.isToggled

This commit is contained in:
michiel2005 2023-10-12 12:15:04 +02:00 committed by Daniel Jacobs
parent 333009b79f
commit ee9237681b
5 changed files with 45 additions and 0 deletions

View File

@ -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
}
]

View File

@ -0,0 +1,9 @@
false
true
false
true
true
true
true
true
false

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
num_frames = 3