Can anyone point me in the right direction?
In BF1942 & Vietnam I'm trying to use my joystick pov-hat for mouselook whilst flying and I'm not getting anywhere!
I've tried code that I found during my hunt for help, but I can't seem get it working - I found 2 code examples but the syntax was slightly different in each one (plus one webpage wasn't in English!).
I think the code above should make the joy_button6 bound to "look" and the pov-hat (buttons 7-10) control the x-y axis. But everytime I try it (with numerous combo's in syntax) I get no response from the hat. In the case above the joy_button6 becomes "mouselook", the game seems to disregard the ButtonsToAxisMapping command and reverts back to the mouse-axis (without me opening the controls menu in-game). PS the "1"'s at the end of each line were included in my stab-in-the-dark syntax kung-fu. Also, I can happily bind the pov-hat to anything else I want, so I know it's the right button designation...
Soz, I know this must be old hat (heh).
In BF1942 & Vietnam I'm trying to use my joystick pov-hat for mouselook whilst flying and I'm not getting anywhere!
I've tried code that I found during my hunt for help, but I can't seem get it working - I found 2 code examples but the syntax was slightly different in each one (plus one webpage wasn't in English!).
I don't know the syntax for this stuff said:ControlMap.addButtonToTriggerMapping c_PIMouseLook IDFGameController_0 IDButton_6 c_CMPushAndHold 1
ControlMap.addButtonsToAxisMapping c_PIMouseLookX IDFGameController_0 IDButton_7 IDButton_9 1
ControlMap.addButtonsToAxisMapping c_PIMouseLookY IDFGameController_0 IDButton_10 IDButton_8 1
I think the code above should make the joy_button6 bound to "look" and the pov-hat (buttons 7-10) control the x-y axis. But everytime I try it (with numerous combo's in syntax) I get no response from the hat. In the case above the joy_button6 becomes "mouselook", the game seems to disregard the ButtonsToAxisMapping command and reverts back to the mouse-axis (without me opening the controls menu in-game). PS the "1"'s at the end of each line were included in my stab-in-the-dark syntax kung-fu. Also, I can happily bind the pov-hat to anything else I want, so I know it's the right button designation...
Soz, I know this must be old hat (heh).