//
// Fri Mar 15 2019 00:20:50
// Script generated by R tothe Andell
//
// Thrustmaster T-Flight Hotas X on Xbox One
// Set high G Type to "A" in game settings
// R2 + Throttle down will provide high g maneuver
// Set high g type to "B" to perform by just throttle down + stick
// Throttle, pitch, roll, and yaw are all as designed by the controller
// Button 5 on stick changes weapon
// button 8 on stick + L2 will throw chaff
// button L3 on stick changes target
// R3 is radar view change
// L1 is missile / special weapon fire
// R1 is machine gun fire
// Please send any questions or comments to [email protected]
//----------------------------------------
main {
swap(PS4_SHARE, XB1_VIEW);
swap(PS4_OPTIONS, XB1_MENU);
swap(PS4_R1, XB1_A);
swap(PS4_R2, XB1_LS);
swap(PS4_R3, XB1_VIEW);
swap(PS4_L1, XB1_B);
swap(PS4_L2, XB1_RS);
swap(PS4_L3, XB1_Y);
swap(PS4_UP, XB1_UP);
swap(PS4_DOWN, XB1_DOWN);
swap(PS4_LEFT, XB1_LEFT);
swap(PS4_RIGHT, XB1_RIGHT);
swap(PS4_TRIANGLE, XB1_RT);
swap(PS4_CIRCLE, XB1_B);
swap(PS4_CROSS, XB1_A);
swap(PS4_SQUARE, XB1_X);
if((get_val(PS4_RX)) <= -10) {
swap(PS4_RX, XB1_LB);
} else if((get_val(PS4_RX)) >= 10) {
swap(PS4_RX, XB1_RB);
}
if((get_val(PS4_RY)) <= -10) {
swap(PS4_RY, XB1_RT);
} else if((get_val(PS4_RY)) >= 10) {
swap(PS4_RY, XB1_LT);
}
}