Jump to content

No alt key


Rick
 Share

Recommended Posts

In fact, using the ALT-key actually pauses your game. As a workaround: When you switch the window-style, this does not happen.

By default the function Window::Create() uses "Leadwerks::Window::Titlebar" as the style-argument. If you simply choose "0" instead here, ALT does not freeze the application. However, ALT is still not recognized using the leadwerks-internal functions.

Again, as a workaround, you can use "GetKeyState(VK_LMENU) < 0" from the windows-API: https://msdn.microsoft.com/en-us/library/windows/desktop/ms646301(v=vs.85).aspx

 

As for fixing this problem, this might be helpful: https://www.gamedev.net/topic/612799-keys-alt-f10-freeze-my-window/

  • Upvote 2
Link to comment
Share on other sites

Okay, it's working but I can't find any way of preventing this from activating the menu on Ubuntu. I don't think it is possible unless you adjust settings in the OS.

  • Upvote 1

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...