Feature/keybindings (#1708)

* Add action manager to handle actions in replacement of keyboard shortcuts
* Implement new Action concept
* Remove the shortcutscomponent as it is no longer needed
* Update profile version from 1.0 to 1.1
* Add action dialog
* Restructure of key specification in keys.h
* Remove solid field-of-view keybind from the newhorizons profile as the setting no longer exists
This commit is contained in:
Alexander Bock
2021-08-18 10:58:20 +02:00
committed by GitHub
parent b651170565
commit 34985f64a6
72 changed files with 3443 additions and 3157 deletions

View File

@@ -79,10 +79,6 @@ openspace.rebindKey = function(oldKey, newKey)
local t = openspace.getKeyBinding(oldKey)
openspace.clearKey(oldKey)
for _, v in pairs(t) do
if v["Remote"] then
openspace.bindKey(newKey, v["Command"])
else
openspace.bindKeyLocal(newKey, v["Command"])
end
openspace.bindKey(newKey, v)
end
end