PDA

View Full Version : Use joystick instead of mouse


Dai
2010-08-30, 06:34
Well, I figure you guys are the ones to make use of it, and I don't know where else to post this, so I'll post it here (Please don't kill me and shit on my grave mods!)

Now, to get to where you need to go:
Assign a control, any control, to you joystick. Now: Go to MyDocuments/Battlefield2/Profiles/001 (I presume the profile you use is the first one in the list of profiles) and finally, find the Controls file (It's a .con file) and open it using notepad.
I said to assign a control to your own joystick, because your joy might be named differently than mine. For me, this is what I have:
ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFGameController_0 IDAxis_0 0 1
ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFGameController_0 IDAxis_1 1 1

What this means is: By moving my joy forward, I move the screen up (or the gun, as the case will be :P) backwards, towards myself, moves it down, left goes left and right goes right.
0 0 1 is left and right, because it is the x axis while 1 1 1 is up and down, the y axis.

Now, find your control in the list. Make certain that you have it set-up for moving the joy left and right and up and down. I like to use the joy to fly, so that's where I got mine. Next, you just copy and paste.

Add these two lines below
ControlMap.create defaultPlayerInputControlMap (it can be anywhere after this, as this is the final grouping)
ControlMap.addAxisToAxisMapping c_PIMouseLookX
ControlMap.addAxisToAxisMapping c_PIMouseLookY

Copy the control code, everythign after IDF, of the pitch to Y, and the control code for roll to X

The easiest thing to do is copy and paste

ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFGameController_0 IDAxis_0 0 1
ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFGameController_0 IDAxis_1 1 1

into the control group.



Sorry if this is confusing, writing this at 2 AM :P If you need some explanation, lemme know. If a mod decides this should be placed elsewhere please let me know and I'll go put it there, hopefully more understandable.

MrTomRobs
2010-09-02, 16:36
When i get mine i'll be doing this to mine. Using a joystick for the main gun seems much more logical. However, if i want to pull the stick back to make the gun go up, and down to make it go down, would i just use the invert x axis in the PR settings for armour?

Johncro
2010-09-02, 16:52
When i get mine i'll be doing this to mine. Using a joystick for the main gun seems much more logical. However, if i want to pull the stick back to make the gun go up, and down to make it go down, would i just use the invert x axis in the PR settings for armour?

No, because I think that would make your mouse settings for infantry go inverted.
I'm not sure.

And thanks Dai. I'm sure to do this to. It will make it 20x more challenging :D

Hunt3r
2010-09-04, 21:45
TBH tanking in PR is far better accomplished with something like the Cyborg RAT 7, on high DPI for scanning, and then just holding the "sniper" button for engaging smoothly.

Dai
2010-10-14, 00:48
Sorry for not making any replies for a long time, been busy.

As I have it, it is already inverted. By pushing forwards you go down, by pulling back you go up.

One thing to remember is that speeding up mouse sensitivity DOES NOT increase the speed of the joy. I'm not sure how to do it, you probably have to edit settings on your joystick.

MrTomRobs
2010-10-14, 14:23
Ah cool stuff! That was what i was after. I'll try this out later once i charge my laptop up again :)

Q2M100
2010-10-29, 03:50
haha! Dai the Canadian! Why use a joystick when you have a mouse! :)

Anyways, the mouse is much more precise and sensitive.

Maverick
2010-12-23, 11:50
Is there something to have like the vertical movement of the turrent be the throttle and the horizontal movement be the stick? Like Combined arms did it? This is for a Saitek X52, I would map it on the stick/throttle, but then it overrides the mouse cam for everything else :/

Dai
2011-01-08, 19:13
So Push forward to increase throttle, pull back to decrease, left/right to turn? Should be possible, will try it. It would be better than using the throttle actually, unless you have one you can easily reset to zero. Using this setup you just inch it forward a little and let it go back to the default zero. Nice idea!

I have a joy with 3 degrees of movement (Pitch Roll and Rudder) so I could actually set it up so that the Rudder is the power, a/d to turn, roll/yaw to look. Got a Logitech Freedom 2.4

Had a computer crash so gotta get it all set-up again, those controls of mine.