Rick Posted February 1, 2017 Share Posted February 1, 2017 I really want to use left alt key for turning the camera to look behind while keep moving in a different direction but it would seem the alt key doesn't work. Link to comment Share on other sites More sharing options...
Josh Posted February 1, 2017 Share Posted February 1, 2017 Thanks for reporting this. 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 More sharing options...
Ma-Shell Posted February 2, 2017 Share Posted February 2, 2017 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/ 2 Link to comment Share on other sites More sharing options...
Josh Posted February 2, 2017 Share Posted February 2, 2017 I've got it working now, on Windows at least. Not tested on Linux yet. 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 More sharing options...
Josh Posted February 2, 2017 Share Posted February 2, 2017 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. 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 More sharing options...
Recommended Posts