Jump to content

Recommended Posts

Posted

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.

 

image.png.8d5600fd2fbb186f70d21769d4fc988c.png

  • Like 1
Posted

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.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

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

 

Posted

    enum Modifier
    {
        MODIFIER_CONTROL = 1,
        MODIFIER_OPTION = 2, // alt key
        MODIFIER_SHIFT = 4,
        MODIFIER_COMMAND = 8 // Windows key on Win32, Command key on Mac
    };

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

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

 

  • Like 1

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...