project reality header
Go Back   Project Reality Forums > Project Reality Support > General Technical Support > Hardware & Custom Builds
19 Sep 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
Hardware & Custom Builds Discussion on Computer Hardware & Custom Builds

Reply
 
Thread Tools Display Modes
Old 2017-06-23, 16:05   #1
Impulser
Default Joystick land vehicles, controls con

I've been messing up with my joystick for quite some time now. Got it working 100% so far for jets/helicopters but i got problems on land vehicles.
Basically, once you write down the new axis on controls.con, you get in-game and you set the joystick.

For the gunning part, I can't modify the pitch up/down setting in-game and i need to find a way to invert the joystick axis somehow.
Obviously i've tried to select the invert box but it only works for my mouse, not joystick.


When i pull my joystick the gunner's view goes down. I need to invert this. Do i have to modify the controls.con like with air? and if so which is the line i'm looking for?
Joystick is acting as a second "mouse". My normal mouse is fine. I'd like to reverse the joystick axes for the gunning(camera angles) aspect ONLY.

My controls.con
Code:
ControlMap.create LandPlayerInputControlMap

ControlMap.addKeysToAxisMapping c_PIYaw IDFKeyboard IDKey_D IDKey_A 0
ControlMap.addAxisToAxisMapping c_PIYaw IDFGameController_0 IDAxis_3 0 1
ControlMap.addKeysToAxisMapping c_PIThrottle IDFKeyboard IDKey_W IDKey_S 0
ControlMap.addAxisToAxisMapping c_PIThrottle IDFGameController_1 IDAxis_1 1 1
ControlMap.addButtonToTriggerMapping c_PIFire IDFMouse IDButton_0 0 0
ControlMap.addButtonToTriggerMapping c_PIFire IDFGameController_0 IDButton_0 0 1
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_LeftShift 0 0
ControlMap.addButtonToTriggerMapping c_PISprint IDFGameController_0 IDButton_8 0 1
Impulser is offline
Last edited by Impulser; 2017-06-23 at 16:56..
Reply With Quote
Reply


Tags
con, controls, joystick, land, vehicles

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 16:55.