Closed TdlQ closed 7 years ago
Can set hotkey,but it is not work in the game.
It works but mods need to adapt to the new system. I've tested with Keepers and GoonMod's Custom Waypoints but haven't pushed the updates as I can't be sure if this pull request will be accepted as is.
How to adapt to the new system?
Err, I think everything is said in the first comment.
No, for the JSON of the first post corresponds this function:
MenuCallbackHandler.KeybindFollow = function(this, item)
log('My keybind logged something!')
end
ty
To take the existing example of Keepers, I define:
(func KeybindFollow points to MenuCallbackHandler.KeybindFollow)
The mod's options menu looks like: http://i.imgur.com/4UfXmYQ.jpg (see 2 keybinds in the bottom)
Mod keybinds manager's options menu looks like: https://i.imgur.com/cFmdoAX.jpg