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