Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.
/ Input Public archive

Commit ccd7614

Browse files
committed
Adds verb cooldown test case
1 parent 7e27f84 commit ccd7614

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
input_accessibility_global_cooldown_set(true);
2+
input_accessibility_verb_cooldown_set("accept", true);
3+
input_accessibility_verb_cooldown_set(["pause", "cancel"], true);
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
var _string = "";
2+
_string += concat("Left = ", input_value("left" ), " ", input_binding_get_name(input_binding_get("left" )), "\n");
3+
_string += concat("Right = ", input_value("right" ), " ", input_binding_get_name(input_binding_get("right" )), "\n");
4+
_string += concat("Up = ", input_value("up" ), " ", input_binding_get_name(input_binding_get("up" )), "\n");
5+
_string += concat("Down = ", input_value("down" ), " ", input_binding_get_name(input_binding_get("down" )), "\n");
6+
_string += concat("Accept = ", input_value("accept"), " ", input_binding_get_name(input_binding_get("accept")), "\n");
7+
_string += concat("Cancel = ", input_value("cancel"), " ", input_binding_get_name(input_binding_get("cancel")), "\n");
8+
_string += concat("Pause = ", input_value("pause" ), " ", input_binding_get_name(input_binding_get("pause" )), "\n");
9+
_string += concat("Recent (all) = ", input_check_press_most_recent(), "\n");
10+
_string += concat("Recent (4dir) = ", input_check_press_most_recent(["left", "right", "up", "down"]), "\n");
11+
_string += concat("Repeat = ", input_check_repeat("up"), "\n");
12+
draw_text(10, 10, _string);

β€Žobjects/obj_test_cooldown/obj_test_cooldown.yyβ€Ž

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)