Pixel-Composer/objects/addon_key_displayer/Create_0.gml

33 lines
649 B
Text
Raw Normal View History

2023-01-09 03:14:20 +01:00
/// @description
event_inherited();
2023-02-28 09:43:01 +01:00
#region keys
name = "Key display";
alpha = 0;
disp_text = "";
depth = -999;
2023-03-05 07:16:44 +01:00
show_doubleclick = false;
show_graph = false;
2023-02-28 09:43:01 +01:00
menu = [
menuItem("Toggle double click bar", function() { show_doubleclick = !show_doubleclick; }),
menuItem("Toggle graph", function() { show_graph = !show_graph; }),
];
extra_keys = [
[vk_control, "Ctrl"],
[vk_shift, "Shift"],
[vk_alt, "Alt"],
[vk_tab, "Tab"],
[vk_backspace, "Backspace"],
[vk_delete, "Delete"],
[vk_escape, "Escape"],
[vk_up, "Up"],
[vk_down, "Down"],
[vk_left, "Left"],
[vk_right, "Right"],
];
mouse_left = [];
#endregion