| 1964 | } |
| 1965 | |
| 1966 | static int hotkey_listAllKeybinds(lua_State *L) { |
| 1967 | auto hotkey_mgr = Core::getInstance().getHotkeyManager(); |
| 1968 | auto binds = hotkey_mgr->listAllKeybinds(); |
| 1969 | |
| 1970 | hotkey_pushBindArray(L, binds); |
| 1971 | return 1; |
| 1972 | } |
| 1973 | |
| 1974 | static const luaL_Reg dfhack_hotkey_funcs[] = { |
| 1975 | { "removeKeybind", hotkey_removeKeybind }, |
nothing calls this directly
no test coverage detected