This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
shortcutmanager [2017/03/23 15:23] – fxfire | shortcutmanager [2017/03/23 15:35] (current) – fxfire | ||
---|---|---|---|
Line 14: | Line 14: | ||
**User Functions: | **User Functions: | ||
+ | \\ | ||
+ | You can also add your own functions by ' | ||
+ | <code lua > | ||
+ | ml_input_mgr.registerFunction({ | ||
+ | name = " | ||
+ | func = " | ||
+ | toggle = true -- OPTIONAL: default to true if " | ||
+ | trigger = false -- OPTIONAL: default to false. Can this function be triggered. press> | ||
+ | icon = path/ | ||
+ | }) | ||
+ | </ |