Xbox 360 gamepad

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
Post Reply
haylocki
Insys Pilot
Insys Pilot
Posts: 2
Joined: Mon Jul 25, 2016 6:55 pm

Xbox 360 gamepad

Post by haylocki »

Hi, couldn't believe no-one had created the bindings for an Xbox 360 gamepad yet, so I created one.

The gamepad is configured as follows:
  • Button A = Autopilot and Spec Drive
    Button B = Jump Drive
    Button X = Overdrive
    Button Y = Nearest Hostile Target
    LB = Missile Select
    RB = Weapon Select
    Back = Mission Target
    Pause = Pause
    Left Stick Button = Switch Left VDU
    Right Stick Button = Switch Right VDU

    Left Stick = Turn left / Right / Up / Down
    Right Stick = Roll Left / Right
    Left Trigger = Launch Missile
    Right Trigger = Fire Weapon

    Dpad Left = Stop
    Dpad Right = Full Throttle
    Dpad Up = Throttle Up
    Dpad Down = Throttle Down
Place the following code above the </bindings> line in the vegastrike.config file.

Code: Select all

<!-- #joy_xbox_360 -->

    <axis name="x" joystick="0" axis="0" inverse="false" />
    <axis name="y" joystick="0" axis="1" inverse="true" />

    #right hand trigger fires primary weapon
    <axis name="hatswitch" nr="0" margin="0.26" joystick="0" axis="5">
    <hatswitch value="0.75"/>
    </axis> 

    <bind hatswitch="0" button="0" command="FireKey" />

<!-- #left hand trigger fires secondary weapon -->
    <axis name="hatswitch" nr="1" margin="0.26" joystick="0" axis="2">
    <hatswitch value="0.75"/>
    </axis> 

    <bind hatswitch="1" button="0" command="MissileKey" />

<!-- #right hand stick left / right rolls ship -->
    <axis name="hatswitch" nr="2" margin="0.26" joystick="0" axis="3">
    <hatswitch value="0.75"/>
    <hatswitch value="-0.75"/>
    </axis> 

    <bind hatswitch="2" button="0" command="RollRightKey" />
    <bind hatswitch="2" button="1" command="RollLeftKey" />

<!-- #dpad to control velocity -->
    <bind joystick="0" digital-hatswitch="0" direction="up" command="AccelKey" />
    <bind joystick="0" digital-hatswitch="0" direction="down" command="DecelKey" />
    <bind joystick="0" digital-hatswitch="0" direction="left" command="StopKey" />
    <bind joystick="0" digital-hatswitch="0" direction="right" command="StartKey" />

    <bind joystick="0" button="0" modifier="none" command="ASAP" />
    <bind joystick="0" button="1" modifier="none" command="JumpKey" />
    <bind joystick="0" button="2" modifier="none" command="ABKey" />
    <bind joystick="0" button="3" modifier="none" command="NearestHostileTargetKey" />
    <bind joystick="0" button="4" modifier="none" command="MisSelKey" />
    <bind joystick="0" button="5" modifier="none" command="WeapSelKey" />
    <bind joystick="0" button="6" modifier="none" command="MissionTargetKey" />
    <bind joystick="0" button="7" modifier="none" command="PauseKey" />
    <bind joystick="0" button="9" modifier="none" command="Cockpit::SwitchLVDU" />
    <bind joystick="0" button="10" modifier="none" command="Cockpit::SwitchRVDU" />

<!-- #end -->
Hope someone finds this useful.

Cheers, Ian
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Xbox 360 gamepad

Post by loki1950 »

Thx Ian welcome to a very quite board ATM :( I happen to use an old rumblepad since my joystick went pop :twisted:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
haylocki
Insys Pilot
Insys Pilot
Posts: 2
Joined: Mon Jul 25, 2016 6:55 pm

Re: Xbox 360 gamepad

Post by haylocki »

Hi,

I've been following Vegastrike for years. I finally got a second hand graphics card (Nvidia gtx 730) capable of running Vegastrike at a decent speed, so I thought I'd try running it again. 1080p @ 60 FPS at highest settings, fantastic. Shame it's so quite here, and developement is so slow, I was hoping there would have been another major release by now. Still I guess people have moved on with their lives.

Just added the settings for the game pad to the wiki. Would have done that instead of posting here yesterday, but for some reason I could only log into the forum. Probably caused by me having to register again yesterday.

Cheers, Ian
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Xbox 360 gamepad

Post by loki1950 »

There is a delay before wiki log-ins work we do get spam on the wiki too so it's for that reason it's tied to having a forum post first. Development have moved to github as sourceforge is getting shorted by new ownership.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Post Reply