Doctor Strangelove
Real Battlefield Veterinarian.
+1,758|6727
So I found my old joystick, a Logitech Wingman 3D Extreme, and I was trying to make it work in BF2.

While I managed to bind the buttons correctly, I am having trouble binding the axises. It allows me to bind twisting the stick (axis 2) to "roll" however when I try to bind moving up or down (axis 0) to pitch or left and right (axis 1) to steering left/right it either says "duplicate found in common controls" or doesn't do anything. I checked everything and the joystick axises are not bound in any controls.

Any help (can be in form of manual editing with that con file.
san4
The Mas
+311|6947|NYC, a place to live
It's always been a mystery to me why BF2 says there are duplicate keys even when there aren't. Anyway, here is the airplane section of my controls.con file, which is setup to work with my Logitech Extreme 3D Pro joystick (as well as flying with all keyboard). The joystick model probably doesn't make much difference for the controls.con file. As you may know, the controls.con file is in C:\Documents and Settings\WINDOWSLOGON\My Documents\Battlefield 2\Profiles\0001, where WINDOWSLOGON is whatever name you use to log on to Windows. Note that the profile number could be different depending on how many profiles you're using and which one you're setting this up for.

Just find your controls.con file, make a copy of it, then edit it and replace the "ControlMap.create AirPlayerInputControlMap" section with the text below. (Or just copy the specific lines you need if you can identify them.) I don't think BF2 complains about duplicate keys when you edit your controls.con file. Let me know if it works because I have no idea if it will tbh.


Code:

ControlMap.create AirPlayerInputControlMap
ControlMap.addKeysToAxisMapping c_PIYaw IDFKeyboard IDKey_D IDKey_A 0
ControlMap.addAxisToAxisMapping c_PIYaw IDFGameController_0 IDAxis_2 0 1
ControlMap.addAxisToAxisMapping c_PIPitch IDFGameController_0 IDAxis_1 1 0
ControlMap.addKeysToAxisMapping c_PIPitch IDFKeyboard IDKey_ArrowDown IDKey_ArrowUp 1
ControlMap.addAxisToAxisMapping c_PIRoll IDFGameController_0 IDAxis_0 0 0
ControlMap.addKeysToAxisMapping c_PIRoll IDFKeyboard IDKey_ArrowRight IDKey_ArrowLeft 1
ControlMap.addKeysToAxisMapping c_PIThrottle IDFKeyboard IDKey_W IDKey_S 0
ControlMap.addAxisToAxisMapping c_PIThrottle IDFGameController_0 IDAxis_3 1 1
ControlMap.addKeyToTriggerMapping c_PIFire IDFKeyboard IDKey_Space 0 0
ControlMap.addButtonToTriggerMapping c_PIFire IDFGameController_0 IDButton_0 0 1
ControlMap.addKeyToTriggerMapping c_PIMouseLook IDFKeyboard IDKey_LeftCtrl 0 0
ControlMap.addButtonToTriggerMapping c_PIMouseLook IDFGameController_0 IDButton_6 0 1
ControlMap.addKeyToTriggerMapping c_PIAltSprint IDFKeyboard IDKey_W 1000 0
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_LeftShift 0 0
ControlMap.addButtonToTriggerMapping c_PISprint IDFGameController_0 IDButton_14 0 1
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect1 IDFKeyboard IDKey_1 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect2 IDFKeyboard IDKey_2 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect3 IDFKeyboard IDKey_3 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect4 IDFKeyboard IDKey_Semicolon 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect5 IDFKeyboard IDKey_5 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect6 IDFKeyboard IDKey_6 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect7 IDFKeyboard IDKey_7 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect8 IDFKeyboard IDKey_8 10000 0
ControlMap.addKeyToTriggerMapping c_PIWeaponSelect9 IDFKeyboard IDKey_9 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect1 IDFKeyboard IDKey_F1 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect2 IDFKeyboard IDKey_F2 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect3 IDFKeyboard IDKey_F3 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect4 IDFKeyboard IDKey_F4 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect5 IDFKeyboard IDKey_F5 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect6 IDFKeyboard IDKey_F6 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect7 IDFKeyboard IDKey_F7 10000 0
ControlMap.addKeyToTriggerMapping c_PIPositionSelect8 IDFKeyboard IDKey_F8 10000 0
ControlMap.addKeyToTriggerMapping c_PIAltFire IDFKeyboard IDKey_RightCtrl 0 0
ControlMap.addButtonToTriggerMapping c_PIAltFire IDFGameController_0 IDButton_1 0 1
ControlMap.addKeyToTriggerMapping c_PICameraMode1 IDFKeyboard IDKey_C 10000 0
ControlMap.addButtonToTriggerMapping c_PICameraMode1 IDFGameController_0 IDButton_11 10000 1
ControlMap.addKeyToTriggerMapping c_PICameraMode2 IDFKeyboard IDKey_4 10000 0
ControlMap.addKeyToTriggerMapping c_PICameraMode3 IDFKeyboard IDKey_Numpad0 10000 0
ControlMap.addButtonToTriggerMapping c_PICameraMode3 IDFGameController_0 IDButton_7 10000 1
ControlMap.addKeyToTriggerMapping c_PICameraMode4 IDFKeyboard IDKey_Z 10000 0
ControlMap.addButtonToTriggerMapping c_PICameraMode4 IDFGameController_0 IDButton_8 10000 1
ControlMap.addKeyToTriggerMapping c_PIToggleWeapon IDFKeyboard IDKey_I 10000 0
ControlMap.addButtonToTriggerMapping c_PIToggleWeapon IDFGameController_0 IDButton_10 10000 1
ControlMap.addKeyToTriggerMapping c_PIFlareFire IDFKeyboard IDKey_X 0 0
ControlMap.addButtonToTriggerMapping c_PIFlareFire IDFGameController_0 IDButton_2 0 1
ControlMap.mouseSensitivity 0.5
ZeqTr
I BELIEVE I CAN FLY....
+121|6459
want my one? :p Il give it to you if you ask
Doctor Strangelove
Real Battlefield Veterinarian.
+1,758|6727

ZeqTr wrote:

want my one? :p Il give it to you if you ask
Nah, San4's worked fine, even though I had to tweak it a bit I can fly good with it now.
one-weak
Banned
+4|6491
Very helpful!

Board footer

Privacy Policy - © 2025 Jeff Minard