EirikNesje Posted July 7 Posted July 7 Hi Would it be possible to map some short-cut keys to different keys? Have issues using functions triggered by keys like '[', ']', and '='. All these keys are remapped on Norwegian keyboards to using 'Alt Gr' and key '8' to get [, '9' to get ] or 'shift key' and '0' to get = etc. 1 Quote
Josh Posted July 8 Posted July 8 If you edit the JSON file found in Documents\Leadwerks\UI\Menus\_Editor.json and remove the underscore (rename it to Editor.json) you can modify the shortcut keys and menu. The numbers used in the file correspond to the key constant values like KEY_A, etc. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
EirikNesje Posted July 9 Author Posted July 9 Thanks! Remapped now and it works great! Figured out "mods" where 1 = ctrl and 4 = shift. Are there oter "mods" values to consider (like "Alt gr" etc? BR Eirik Quote
Josh Posted July 9 Posted July 9 enum Modifier { MODIFIER_CONTROL = 1, MODIFIER_OPTION = 2, // alt key MODIFIER_SHIFT = 4, MODIFIER_COMMAND = 8 // Windows key on Win32, Command key on Mac }; Quote My job is to make tools you love, with the features you want, and performance you can't live without.
EirikNesje Posted July 9 Author Posted July 9 Thanks! Having great fun exploring the engine and tools. Nice set of videos You have released recently. Picked up a lot of features that I had not used earlier and looking forward to the planned templates. //Eirik 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.