How to disable the response to alt-enter?
by Nicolas Olhaberry · in Torque Game Builder · 04/07/2008 (9:14 pm) · 1 replies
Hi guys,
I would like to disable the response to alt-enter, I don't want it to toggle fullscreen, I just want to ignore that key combination altogether.
From what I've tried, commenting the code in Video::toggleFullScreen() seems to do the trick. But I would like to know the proper way to do it. I've been looking at the sourcecode and I cannot seem to find where that key combination is detected and processed.
Thanks,
Nicolas
I would like to disable the response to alt-enter, I don't want it to toggle fullscreen, I just want to ignore that key combination altogether.
From what I've tried, commenting the code in Video::toggleFullScreen() seems to do the trick. But I would like to know the proper way to do it. I've been looking at the sourcecode and I cannot seem to find where that key combination is detected and processed.
Thanks,
Nicolas
Torque Owner Kevin Keathley
Non-Default Studio Name
On the other hand, if you are making a windowed game and don't want it fullscreen, I've never seen any problems with that. These are just comments from a user-perspective. Forcing a player to stay in the game when he needs to pay a bill right quick or check something for someone only makes him/her dislike that aspect of the game.
I hope that bit of info helps from a user perspective (even if I wasn't helpful towards the original problem). I wish I knew how to disable it for you, but if I come across that I'll pass it on. You could just try re-binding the ALT-ENTER combination to something else that doesn't do anything. Perhaps it will override the default response.