Apologies for being such a newb! I've just rediscovered Duke3D and am having a blast (pun intended). It brings back great memories.
I'm using the HiRes pack and everything is great with the keyboard. However, I recently added a Logitech Dual Action gamepad, and don't understand how to configure the various functions. Via the the setup program I selected "keyboard and joystick", but the options don't change. Only keyboard and mouse options are available. I next looked at the cfg file and found the various joystick options. But what are the proper entries and how do the options map to a gamepad?
Has anyone put together an instruction sheet or how-to? I searched the forum and FAQ's but did not see anything specific to the topic. Thanks in advance for any and all help.
ZepDad at
Re: Need Help with Gamepad / Joystick
After further searching I located the cfg options at PlanetDuke. Here's the link:
http://www.planetduke.com/features/articles/config.shtml
I was able to map all needed functions to Logitech's Dual Action Gamepad. My solution and settings follows. Keep in mind that I'm still learning the best combinations that work for me. This only represents an early mapping attempt but covers the critical game play needs. The keyboard is used for all other options.
I don't know if other gamepads map exactly the same but the concept should be similar. Your mileage may vary.
[Note: The Logitech Dual Action Gamepad has 15 available buttons. In the cfg file these are numbered 0-14.]
Right Hand Thumb Buttons
Button 1 - JoystickButton0 = "Previous_Weapon"
Button 2 - JoystickButton1 = "Next_Weapon"
Button 3 - JoystickButton2 = "Inventory"
Button 4 - JoystickButton3 = "Inventory_Right"
[I don't find inventory_Left necessary as it is easy to cycle through inventory items. Of course there aren't enough buttons to select weapons by number but cycling through the weapons works ok, mostly. For nimble keyboard players this is probably a major drawback of using joysticks or gamepads.]
Right Hand Top Buttons
Button 6 - JoystickButton5 = "Run"
Button 8 - JoystickButton7 = "TurnAround"
[I'm still undecided about these two buttons.]
Left Hand Top Buttons
Button 5 - JoystickButton4 = "Fire"
Button 7 - JoystickButton6 = "Open"
[I prefer using the left hand for fire since my right thumb is engaged moving Duke. But I'm probably not as dextrous as some of you!]
Left Hand Toggle Pad
Toggle Up - JoystickButton12 = "Jump"
Toggle Right - JoystickButton13 = "" {unused}
Toggle Down - JoystickButton14 = "Crouch"
Toggle Left - JoystickButton15 = "" {unused}
[In the heat of battle I find the toggle pad too sensitive to use all four functions. Jump/crouch also functions as up/down when using the jet pack or scuba gear.]
Left Hand Joystick
Left/Right
JoystickAnalogAxes0 = ""
JoystickDigitalAxes0_0 = "Strafe_Left"
JoystickDigitalAxes0_1 = "Strafe_Right"
Up/Down
JoystickAnalogAxes1 = ""
JoystickDigitalAxes1_0 = "Aim_Up"
JoystickDigitalAxes1_1 = "Aim_Down"
Push Down
JoystickButton10 = "" {unused}
Right Hand Joystick
Left/Right
JoystickAnalogAxes2 = ""
JoystickDigitalAxes2_0 = "Turn_Left"
JoystickDigitalAxes2_1 = "Turn_Right"
Up/Down
JoystickAnalogAxes3 = ""
JoystickDigitalAxes3_0 = "Move_Forward"
JoystickDigitalAxes3_1 = "Move_Backward"
Push Down
JoystickButton11 = "" {unused}
[I retained the defaults for the scale, dead and saturate options. Scale = 65536, Dead = 1000 and Saturate = 9500 in all cases.]
[I haven't gotten the hang of pushing the joysticks yet. Maybe "Run" is better suited for pushing the joystick button down while moving forward/backward.]
Any variations or suggestions?
Trance at
Need help with Gamepad / Joystick
There's a pretty nifty application I found a week or so ago called JoyToKey that converts joystick/gamepad inputs into keyboard/mouse signals. Motion-wise (such as using thumbsticks) it's not as accurate as a game that fully supports joystick/gamepad input, but it should be sufficient to play on a moderate setting. This means all those games that didn't have joystick support before, do now. I use it for games like System Shock 2.
Also the program features configs that you can create and tweak to each game you want to use it on.