mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 02:17:52 +02:00
27 lines
839 B
Lua
27 lines
839 B
Lua
local M = {}
|
|
|
|
---@return druid.example.data[]
|
|
function M.get_examples()
|
|
---@type druid.example.data[]
|
|
return {
|
|
{
|
|
name_id = "ui_example_gamepad_tester",
|
|
information_text_id = "ui_example_gamepad_tester_description",
|
|
template = "gamepad_tester",
|
|
root = "gamepad_tester/root",
|
|
code_url = "example/examples/gamepad/gamepad_tester/gamepad_tester.lua",
|
|
widget_class = require("example.examples.gamepad.gamepad_tester.gamepad_tester"),
|
|
},
|
|
{
|
|
name_id = "ui_example_on_screen_control",
|
|
information_text_id = "ui_example_on_screen_control_description",
|
|
template = "on_screen_control",
|
|
root = "on_screen_control/root",
|
|
code_url = "example/examples/gamepad/on_screen_control/on_screen_control.lua",
|
|
widget_class = require("example.examples.gamepad.on_screen_control.on_screen_control"),
|
|
}
|
|
}
|
|
end
|
|
|
|
return M
|