GPC Library

Xbox 360 Flight Stick for Elite Dangerous Xbox One

* This script enables using an Xbox 360 Flight Stick
* without X-Aim for Elite Dangerous for Xbox One.
* It is designed for the default control scheme in the game.
* Set the Saitek AV8R stick to Mode 1
* Tested using Pacific AV8R for Xbox 360, but should work with
* Ace Edge HOTAS as well
* Tested using Device Monitor only
Version 1
Author jcarley2112
Publish Date 2018-04-13 18:41:00
Update Date 2018-04-13 18:41:00
Downloads 7
RATE


0

0

Release Notes: Initial Release
Code:Select all
// GPC Online Library
// xbox360_flight_stick_elite_dangerous.gpc
//
/* ************************************************************
* This script enables using an Xbox 360 Flight Stick 
* without X-Aim for Elite Dangerous for Xbox One.
* It is designed for the default control scheme in the game.
* Set the Saitek AV8R stick to Mode 1
* Tested using Saitel Pacific AV8R for Xbox 360, but should work with
* Ace Edge HOTAS as well
* Tested using Device Monitor only
* 
* Version 1.0
* 
* Button Mapping:
* Main Stick X to LX - roll
* Main Stick Y to LY - pitch
* Throttle to LB/RB - throttle
* Rocker to RX - rudder/yaw
* A Button(Trigger) to RT - primary fire
* B Button to LT - secondary fire
* X Button to X - deploy hardpoints
* Y Button to Y - toggle frame shift drive
* LS Button to A - select target ahead
* RS Button to B - engine boost
* RB Button to RB - next panel tab
* LB Button to LB - previous panet tab
* LB Button + RB Button to RS - headlook toggle
* D-Pad to D-pad - divert/balance power
* Hat Stick X to RX - secondary yaw/headlook
* Hat Stick Y to RY - vertical thrust/headlook
* Back Button to VIEW - friends list
* Start Button to MENU - game menu
* LB Button + RB Button to RS - headlook toggle 
*
* 
* *********************************************************** */

//
// 
//

define rudder = XB360_LT;
define throttle = XB360_RT;
int rudder_var;

main {

rudder_var = get_val(rudder) * 2;


//yaw control
if(get_val(XB360_RX) == 0)
    set_val(XB1_RX,rudder_var - 100);

//throttle control
// Convert the flight stick analog throttle
// to gamepad digital LB - throttle decrease and RB - throttle increase
if((get_val(throttle) < get_lval(throttle)) || (get_val(throttle) < 2))// throttle decrease
	set_val(XB1_LB,100);
 

if((get_val(throttle)>get_lval(throttle)) || (get_val(throttle) > 98) ) // throttle increase
	set_val(XB1_RB,100);


//secondary fire
//remap B button to LT
if(get_val(XB360_B))
	set_val(XB1_LT,100);
else
	set_val(XB1_LT,0);
	
//primary fire 
//remap A button to RT
if(get_val(XB360_A))
	set_val(XB1_RT,100);
else
	set_val(XB1_RT,0);

//remap LS button to A
if(get_val(XB360_LS))
	set_val(XB1_A,100);	
else
    set_val(XB1_A,0);		

//remap RS button to B
if(get_val(XB360_RS))
	set_val(XB1_B,100);	
else
    set_val(XB1_B,0);

//headlook toggle
if(get_val(XB360_LB) && get_val(XB360_RB))
	set_val(XB1_RS,100);
else
	set_val(XB1_RS,0);

//turn off LS
set_val(XB1_LS,0);

//reduce left stick dead zone
deadzone(XB360_LX,XB360_LY,DZ_CIRCLE,15);

}






  • Rating

    10 / 10 here !

    If you own a ps3 and prefer an xbox controller, or even use a keyboard and mouse, this is a must to remap your keyboard to a controller. Go buy it now you won't be disappointed !

  • Rating

    Amazing device

    If you're like me and love your PS4 controller but want to use an Xbox One GET THIS you won't be sorry.

  • Rating

    Worth every penny

    The controller feels and performs as it does on the xbox right there on my ps3, awesome job guys, and worth every penny !!!

  • Rating

    Amazing Macro combos

    tested Super Street Fighter IV Arcade Edition. I was able to perform normal & FADC combos with some characters like Ryu and Ken with a single click. Amazing.

  • Rating

    As good as a XIM

    If you are a pc gamer, that needs a pc solution for console, get yourself a CronusMAX you will not regret it.

  • Rating

    KB & Mouse RULES!

    All I can say playing 10 minutes with CronusMAX properly configured it felt better then PC....YES I said it even better then PC, it's that smooth.

  • Rating

    Six-Axis 360!

    WOW! I can finally get that six-axis awesomeness on my Xbox 360. The best money I ever spent.

  • Rating

    Beats all rapidfire mods

    I've tried the Intensafire, Godfather even the new Wolf controller. The CronusMAX beats them hands down and no wires or soldering too. 5 Stars!

  • Rating

    Just perfect!

    I can't believe how much this can do for the price tag - it blew me away. Best controller upgrade ever.

  • Rating

    Hugh Thanks!

    Without your help I couldn't be playing Xbox, thanks guys.

  • Rating

    Wow!

    I have to say after reading the forums for Destiny Mouse and Keyboard setup I was flying into getting it set up in 20 minutes. It works outstanding! I'm more then satisfied and its worth every penny!

  • Rating

    Achievement Unlocked!

    Idle boosting Complete 150 Multiplayer games, James Cameron's Avatar. My friend said it would be hard, I laughed then linked him.

  • Rating

    A++!

    Now this is a company you can count on and trust...keep up the great work guys!

  • Rating

    What Disability?

    I would like to thank you for making the CronusMax. I have this problem hitting L3 and R3, and today that problem was fixed. I love the remap feature on the Cronus max. You made my life easier.

  • Rating

    Awesome stuff guys!

    Playing Forza 5 with my original MS 360 wireless wheel makes the XB1 complete for me, thanks to the CronusMax. Thumbs up!