Game Development Community

Controller Menu

by Ronald J Nelson · in Torque Game Engine · 08/06/2005 (2:59 am) · 3 replies

I am very new to this engine and have been working at the examples I have available but could really use some help here on this.

I am trying to set up a controller menu that will use a GuiPopUpMenuCtrl button to allow a player to select between Keyboard/Mouse and then Joystick/Gamepad/Driving Wheel configurations on one GuiTextListCtrl.

Basically when you hit the GuiPopUpMenuCtrl button you can choose either "Keyboard/Mouse" or "Joystick/Gamepad/Driving Wheel". When this is done I want it to load a new list of remappable controls specific to that group of input devices.

Has anyone already done this? If so I would appreciate the assistance.

#1
08/06/2005 (9:13 pm)
You could use some different ActionMaps to accomplish the effect, I'd think?
#2
08/08/2005 (9:59 am)
Got rid of all of that code because I got that part to work and it seemed a bit useless after seeing just how many errors I had made.
#3
08/08/2005 (3:56 pm)
That's an awful lot of code. I would imagine there are some bugs in it; have you tried putting echo() statements in it to make sure that the code you think should be executed is, in the appropriate cases?