tests/avm1: Added test for key.isToggled
This commit is contained in:
parent
333009b79f
commit
ee9237681b
|
@ -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
|
||||||
|
}
|
||||||
|
]
|
|
@ -0,0 +1,9 @@
|
||||||
|
false
|
||||||
|
true
|
||||||
|
false
|
||||||
|
true
|
||||||
|
true
|
||||||
|
true
|
||||||
|
true
|
||||||
|
true
|
||||||
|
false
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
num_frames = 3
|
Loading…
Reference in New Issue