Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads > Controls threads

Controls threads Everything about controls in CoD

Reply
 
Thread Tools Display Modes
  #1  
Old 10-26-2012, 10:19 AM
Stublerone Stublerone is offline
Approved Member
 
Join Date: Sep 2011
Posts: 250
Default TM Hotas Warthog settings?

Hi all, i haven't flown for a long time and am now wondering, if anyone already did a real setup for the Hotas Warthog. I have to send mine for repair on monday as obe of my drunk friends ruined the 3way swith on the side of the throttle.

As soon as I get it back I will prepare myself to get ready for flight in old and new il2.

Iam always wondering, that some of my friends use the warthog, but never tried to use its potential, instead of just key assigning.

Anyone did a profile with pinkie switch use? Anyone really did some more complicated stuff in the target software?

Just wondering, if there is anyone out there having a more complex profile. Would appreciate to get answers just to collect ideas.

Warthog could do so much more!!!
Reply With Quote
  #2  
Old 10-26-2012, 04:23 PM
ElGringo ElGringo is offline
Registered Member
 
Join Date: Apr 2012
Location: Le Havre, France
Posts: 8
Default

I didn' t see any need for complex scripting in cliffs of dover. Commands are pretty straightforward.
Here are a couple examples:


Bf-109E-1/4:

Code:
include "target.tmh"
int main()
{

	Configure(&HCougar, MODE_EXCLUDED);
	Configure(&T16000, MODE_EXCLUDED);
	Configure(&LMFD, MODE_EXCLUDED);
	Configure(&RMFD, MODE_EXCLUDED);
	
	if(Init(&EventHandle)) return 1;
	SetKBRate(32, 50);
	SetKBLayout(KB_FR);
	SetShiftButton(0);
	
	MapKey(&Joystick, TG1, SPC);         //Fire Machine Guns
        MapKey(&Joystick, S2, 'v');          //Drop Ordnance
	MapKey(&Joystick, S3, 0);    
	MapKey(&Joystick, S1, 'c');          //Fire Cannons
	MapKey(&Joystick, S4, 'b');          //Wheel Brake
	MapKey(&Joystick, TG2, 'h');        //Fire All Guns
	
	MapKey(&Joystick, H2U, 0);
	MapKey(&Joystick, H2R, 0);
	MapKey(&Joystick, H2D, 0);
	MapKey(&Joystick, H2L, 0);
	
	MapKey(&Joystick, H3U, 0);
	MapKey(&Joystick, H3R, RARROW);   //Trim Rudder Right
	MapKey(&Joystick, H3D, DARROW);   //Trim Rudder Reset
	MapKey(&Joystick, H3L, LARROW);   //Trim Rudder Left
	
	MapKey(&Joystick, H4U, 0);
	MapKey(&Joystick, H4R, 0);
	MapKey(&Joystick, H4D, 0);
	MapKey(&Joystick, H4L, 0);
	MapKey(&Joystick, H4P, 0);
	
	MapKey(&Joystick, H1U, L_SHIFT+UARROW);   //Trim Pitch Down
	MapKey(&Joystick, H1R, L_SHIFT+RARROW);   //Trim Right Down
	MapKey(&Joystick, H1D, L_SHIFT+DARROW);   //Trim Pitch Up
	MapKey(&Joystick, H1L, L_SHIFT+LARROW);   //Trim Left Down
	
	MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYX, 0, 0, 0, 2, 0);
	MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYY, 0, 0, 0, 2, 0);
	
	
	MapKey(&Throttle, SC, TEMPO(DX1, PULSE+USB[0x64], 500));  //Reset View & TrackIR
	
	MapKey(&Throttle, MSP, 'z');     //WEP
	MapKey(&Throttle, MSU, USB[0x1E]);     //Toggle Auto Prop Pitch
	MapKey(&Throttle, MSR, 0);
	MapKey(&Throttle, MSD, 0);     
	MapKey(&Throttle, MSL, 0);
	
	MapKey(&Throttle, SPDF, 0);
	MapKey(&Throttle, SPDB, 0);
	MapKey(&Throttle, SPDM, 0);

	MapKey(&Throttle, BSF, 0);     
	MapKey(&Throttle, BSB, 0);     
	
	MapKey(&Throttle, CHF, DX11);    //Prop Pitch Up
	MapKey(&Throttle, CHB, DX12);    //Prop Pitch Down
	
	MapKey(&Throttle, LTB, KP0);   //Teamspeak
	
	MapKey(&Throttle, LDGH, 0);    
	
	MapKey(&Throttle, FLAPU, DX22);    //Flaps Up
	MapKey(&Throttle, FLAPD, DX23);    //Flaps Down
	MapKey(&Throttle, FLAPM, 0);
	
	MapKey(&Throttle, EACON, PULSE+DX24);       //Bombs Armed
	MapKey(&Throttle, EACOFF, PULSE+DX24);      //Bombs Disarmed
	
	MapKey(&Throttle, RDRNRM, 0);
	MapKey(&Throttle, RDRDIS, 0);
	
	MapKey(&Throttle, APENG, 0);
	MapKey(&Throttle, APPAT, 0);
	MapKey(&Throttle, APALT, 0);
	
	MapKey(&Throttle, EOLMOTOR, DX18);    //Radiator Open
	MapKey(&Throttle, EOLIGN, DX31);    //Radiator Close
	
	MapKey(&Throttle, EORMOTOR, DX19);    //Oil Radiator Open
	MapKey(&Throttle, EORIGN, DX32);    //Oil Radiator Close
	
	MapKey(&Throttle, CSU, 0);
	MapKey(&Throttle, CSR, 0);
	MapKey(&Throttle, CSD, 0);
	MapKey(&Throttle, CSL, 0);
	
    KeyAxis(&Throttle, SCY, 0, AXMAP2(LIST(0, 10, 90, 100), SEQ(PULSE+L_ALT+PGUP, PULSE+L_ALT+HOME), 0, SEQ(PULSE+L_ALT+INS, PULSE+L_ALT+HOME)));      //90°/60°/30° FoV    
    KeyAxis(&Throttle, THR_FC, 0, AXMAP2(LIST(0, 10, 90, 100), CHAIN(PULSE+'d', D(50), PULSE+'d'), 0, CHAIN(PULSE+'f', D(50), PULSE+'f')));       //Landing Gear
    
	SetSCurve(&Throttle, SCX, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, SCY, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_RIGHT, 0, 0, 0, 0, 0);	
	MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0);

}
int EventHandle(int type, alias o, int x)
{
	DefaultMapping(&o, x);
}
Ju-88:
Code:
include "target.tmh"
int main()
{

	Configure(&HCougar, MODE_EXCLUDED);
	Configure(&T16000, MODE_EXCLUDED);
	Configure(&LMFD, MODE_EXCLUDED);
	Configure(&RMFD, MODE_EXCLUDED);
	
	if(Init(&EventHandle)) return 1;
	SetKBRate(32, 50);
	SetKBLayout(KB_FR);
	SetShiftButton(0);
	
	MapKey(&Joystick, TG1, 0);         
        MapKey(&Joystick, S2, 'v');      //Drop Ordnance
	MapKey(&Joystick, S3, 'u');      //Lock Tail Skid    
	MapKey(&Joystick, S1, 0);          
	MapKey(&Joystick, S4, 'b');      //Wheel Brake
	MapKey(&Joystick, TG2, 0);   
	
	MapKey(&Joystick, H2U, 'q');     //Autopilot Next Mode
	MapKey(&Joystick, H2R, 'x');     //Autopilot Right
	MapKey(&Joystick, H2D, 's');     //Autopilot Previous Mode
	MapKey(&Joystick, H2L, 'w');     //Autopilot Left
	
	MapKey(&Joystick, H3U, 0);
	MapKey(&Joystick, H3R, RARROW);   //Trim Rudder Right
	MapKey(&Joystick, H3D, DARROW);   //Trim Rudder Reset
	MapKey(&Joystick, H3L, LARROW);   //Trim Rudder Left
	
	MapKey(&Joystick, H4U, PULSE+PGDN);   //Next Bomb Bay
	MapKey(&Joystick, H4R, 0);
	MapKey(&Joystick, H4D, PULSE+DEL);   //Previous Bomb Bay
	MapKey(&Joystick, H4L, 0);
	MapKey(&Joystick, H4P, 0);
	
	MapKey(&Joystick, H1U, L_SHIFT+UARROW);   //Trim Pitch Down
	MapKey(&Joystick, H1R, L_SHIFT+RARROW);   //Trim Right Down
	MapKey(&Joystick, H1D, L_SHIFT+DARROW);   //Trim Pitch Up
	MapKey(&Joystick, H1L, L_SHIFT+LARROW);   //Trim Left Down
	
	MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYX, 0, 0, 0, 2, 0);
	MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYY, 0, 0, 0, 2, 0);
	
	
	MapKey(&Throttle, SC, TEMPO(DX1, PULSE+USB[0x64], 500));  //Reset View & TrackIR
	
	MapKey(&Throttle, MSP, 'z');     //WEP
	MapKey(&Throttle, MSU, 0);     
	MapKey(&Throttle, MSR, DX4);     //Supercharger Next Step
	MapKey(&Throttle, MSD, 0);     
	MapKey(&Throttle, MSL, DX6);     //Supercharger Previous Step
	
	MapKey(&Throttle, SPDF, PULSE+DX7);   //Close Airbrake
	MapKey(&Throttle, SPDB, PULSE+DX8);   //Open Airbrake
	MapKey(&Throttle, SPDM, 0);

	MapKey(&Throttle, BSF, 0);    
	MapKey(&Throttle, BSB, 0);      
	
	MapKey(&Throttle, CHF, DX12);    //Prop Pitch Up
	MapKey(&Throttle, CHB, DX11);    //Prop Pitch Down
	
	MapKey(&Throttle, LTB, KP0);   //Teamspeak
	
	MapKey(&Throttle, EFLNORM, DX16);  //Left Fuel Cock
	MapKey(&Throttle, EFRNORM, DX17);  //Right Fuel cock
	
	MapKey(&Throttle, EOLMOTOR, 0);
	MapKey(&Throttle, EORMOTOR, 0);
	
	MapKey(&Throttle, APUON, 0);
	
	MapKey(&Throttle, LDGH, 0);    
	
	MapKey(&Throttle, FLAPU, DX22);    //Flaps Up
	MapKeyR(&Throttle, FLAPU, PULSE+DX23);
	MapKey(&Throttle, FLAPD, DX23);    //Flaps Down
	MapKeyR(&Throttle, FLAPD, PULSE+DX22);
	MapKey(&Throttle, FLAPM, 0);
	
	MapKey(&Throttle, EACON, PULSE+DX24);       //Bombs Armed
	MapKey(&Throttle, EACOFF, PULSE+DX24);      //Bombs Disarmed
	
	MapKey(&Throttle, RDRNRM, CHAIN(DOWN+DX2, D(10500), UP+DX2));     //Open Bomb Bay   
	MapKey(&Throttle, RDRDIS, CHAIN(DOWN+DX3, D(10500), UP+DX3));     //Close Bomb Bay
	
	MapKey(&Throttle, APENG, DX26);    //Jettison Bombs
	
	MapKey(&Throttle, APPAT, PULSE+DX27);    //Next Bomb Distributor Mode
	MapKeyR(&Throttle, APPAT, PULSE+DX28); 
	MapKey(&Throttle, APALT, PULSE+DX28);    //Previous Bomb Distributor Mode
	MapKeyR(&Throttle, APALT, PULSE+DX27);
	
	MapKey(&Throttle, EOLMOTOR, DX18);    //Radiator Open
	MapKey(&Throttle, EOLIGN, DX31);    //Radiator Close
	
	MapKey(&Throttle, EORMOTOR, DX19);    //Oil Radiator Open
	MapKey(&Throttle, EORIGN, DX32);    //Oil Radiator Close     
	
	MapKey(&Throttle, CSU, PULSE+USB[0x34]);     //Decrease Bomb Distributor Delay
	MapKey(&Throttle, CSR, PULSE+USB[0x30]);   //Increase Bomb Salvo Quantity
	MapKey(&Throttle, CSD, PULSE+USB[0x32]);     //Increase Bomb Distributor Delay
	MapKey(&Throttle, CSL, PULSE+USB[0x2F]);   //Decrease Bomb Salvo Quantity
	
    KeyAxis(&Throttle, SCY, 0, AXMAP2(LIST(0, 10, 90, 100), SEQ(PULSE+L_ALT+PGUP, PULSE+L_ALT+HOME), 0, SEQ(PULSE+L_ALT+INS, PULSE+L_ALT+HOME)));      //90°/60°/30° FoV
    KeyAxis(&Throttle, THR_FC, 0, AXMAP2(LIST(0, 10, 90, 100), PULSE+'d', 0, PULSE+'f'));
    
	SetSCurve(&Throttle, SCX, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, SCY, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_RIGHT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_LEFT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0);

}
int EventHandle(int type, alias o, int x)
{
	DefaultMapping(&o, x);
}
For more complex stuff look at this:
Rise of Flight

Code:
include "target.tmh"
int main()
{

	Configure(&HCougar, MODE_EXCLUDED);
	Configure(&T16000, MODE_EXCLUDED);
	Configure(&LMFD, MODE_EXCLUDED);
	Configure(&RMFD, MODE_EXCLUDED);
	
	if(Init(&EventHandle)) return 1;
	SetKBRate(32, 50);
	SetKBLayout(KB_FR);
	SetShiftButton(&Joystick, 0, &Throttle, PSF, PSB);
	
	MapKeyUMD(&Joystick, TG1, 0, SPC, 'n');   //Fire All Guns/Fire Nose Guns
	MapKey(&Joystick, TG2, 'h');     //Fire Forward Facing Guns
	MapKey(&Joystick, S1, 'c');      //Fire Overwing Guns
        MapKey(&Joystick, S2, 'v');      //Release Bombs-Launch Rockets
	MapKey(&Joystick, S4, EXEC("TrimDXAxis(DX_Y_AXIS, CURRENT);"));  //Trim
	MapKey(&Joystick, S3, PULSE+'r');   //Reload Guns
		
	MapKey(&Joystick, H2U, PULSE+'q');    //Autopilot Route
	MapKey(&Joystick, H2R, 'x');          //Autopilot Right
	MapKey(&Joystick, H2D, PULSE+'a');    //Autopilot Level   
	MapKey(&Joystick, H2L, 'w');          //Autopilot Left
	
	MapKey(&Joystick, H3U, USB[0x36]);     //Elevate or Depress Overwing Guns
	MapKey(&Joystick, H3R, TEMPO(SEQ(PULSE+L_CTL+USB[0x1E], PULSE+L_CTL+USB[0x1F], PULSE+L_CTL+USB[0x20], PULSE+L_CTL+USB[0x21]), PULSE+L_CTL+USB[0x35], 500));    //Short:Red, Green, Yellow, White Flare; Long: Remove Flare Launcher
	MapKey(&Joystick, H3D, EXEC("TrimDXAxis(DX_Y_AXIS, SET(0));"));   //Reset Trim
	MapKey(&Joystick, H3L, TEMPO(PULSE+L_CTL+USB[0x22], PULSE+L_CTL+USB[0x35], 500));    //Short: Revolver; Long: Remove Personal Weapon
	
	MapKey(&Joystick, H4P, PULSE+L_CTL+'v');    //Drop Two Bombs
	MapKey(&Joystick, H4U, 0);
	MapKey(&Joystick, H4R, 's');    //Bomb Sights
	MapKey(&Joystick, H4D, 0);
	MapKey(&Joystick, H4L, 0);
	
	MapKey(&Joystick, H1U, 0);
	MapKey(&Joystick, H1D, 0);
	MapKey(&Joystick, H1L, 0);
	MapKey(&Joystick, H1R, 0);
	
	MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYX, 0, 0, 0, 2, 0);
	MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYY, 0, 0, 0, 2, 0);
	
	
	MapKey(&Throttle, SC, TEMPO(DX1, PULSE+USB[0x64], 500));    //Reset View and Reset TrackIR
	
	MapKey(&Throttle, MSP, 'b');    //Blip Switch
	MapKey(&Throttle, MSU, 0);
	MapKey(&Throttle, MSR, DX4);    //Altitude Throttle
	MapKey(&Throttle, MSD, 0);
	MapKey(&Throttle, MSL, DX6);    //Altitude Throttle
	
	MapKey(&Throttle, SPDF, KP2);   //Overwing Gunsight View
	MapKey(&Throttle, SPDB, KP8);   //Gunsight View

	MapKey(&Throttle, BSF, DX9);    //Increase Mixture
	MapKey(&Throttle, BSB, DX10);   //Decrease Mixture
	
	MapKey(&Throttle, CHF, DX11);   //Radiator
	MapKey(&Throttle, CHB, DX12);   //Radiator
	
	MapKey(&Throttle, LTB, KP0);   //Teamspeak
	
	MapKey(&Throttle, LDGH, DX21);  //Cockpit Light
	
	MapKey(&Throttle, FLAPU, 0);
	MapKey(&Throttle, FLAPD, 0);
	MapKey(&Throttle, FLAPM, 0);
	
	MapKey(&Throttle, EACON, PULSE+DX24);    //Switch Position
	MapKey(&Throttle, EACOFF, PULSE+DX24);   
	
	MapKey(&Throttle, RDRNRM, PULSE+DX25);   //Take or Leave Turret Control
	MapKey(&Throttle, RDRDIS, PULSE+DX25);   
	
	MapKey(&Throttle, APENG, DX26);     //Turret Gunsights
	
	MapKey(&Throttle, APPAT, DX27);     //Close Bomb Bay Door
	MapKey(&Throttle, APALT, DX28);     //Open Bomb Bay Door
	
	MapKey(&Throttle, IDLERON, CHAIN(D(50), PULSE+DX29));      //Engine 1 Start
	MapKey(&Throttle, IDLEROFF, CHAIN(D(50), PULSE+DX29));     //Engine 1 Stop
	MapKey(&Throttle, IDLELON, PULSE+DX30);       //Engine 2 Start
	MapKey(&Throttle, IDLELOFF, PULSE+DX30);      //Engine 2 Stop
	
	MapKey(&Throttle, CSU, 0);
	MapKey(&Throttle, CSR, 0);
	MapKey(&Throttle, CSD, 0);
	MapKey(&Throttle, CSL, 0);
	
    KeyAxis(&Throttle, SCY, 0, AXMAP2( LIST( 0, 10, 90 ), USB[84], 0, USB[85]));    //Zoom
    
	SetSCurve(&Throttle, SCX, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, SCY, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_RIGHT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_LEFT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0);

}
int EventHandle(int type, alias o, int x)
{
	DefaultMapping(&o, x);
}
Or this:
Blackshark
Code:
include "target.tmh"
int main()
{

	Configure(&HCougar, MODE_EXCLUDED);
	Configure(&T16000, MODE_EXCLUDED);
	Configure(&LMFD, MODE_EXCLUDED);
	Configure(&RMFD, MODE_EXCLUDED);
	
	if(Init(&EventHandle)) return 1;
	SetKBRate(32, 50);
	SetKBLayout(KB_FR);
	SetShiftButton(&Joystick, S3, &Throttle, PSF, PSB, IOTOGGLE);
	
	MapKeyUMD(&Joystick, TG1, SPC, SPC, 'z');
        MapKeyUMD(&Joystick, S2, 'o', 'o', PULSE+R_SHIFT+'l');
	MapKey(&Joystick, S4, 't');
	MapKeyRIO(&Joystick, S4, PULSE+'w', 0);
	MapKey(&Joystick, S1, TEMPO(PULSE+'c', PULSE+'h', 500));
	MapKeyUMD(&Joystick, TG2, USB[99], USB[99], 0);
	
	MapKey(&Joystick, H2U, PULSE+'r');
	MapKey(&Joystick, H2R, TEMPO(PULSE+L_ALT+'t', PULSE+L_ALT+'q', 500));
	MapKey(&Joystick, H2D, PULSE+'d');
	MapKey(&Joystick, H2L, PULSE+'a');
	
	MapKey(&Joystick, H3U, PULSE+R_CTL+'i');
	MapKey(&Joystick, H3R, PULSE+BSP);
	MapKey(&Joystick, H3D, PULSE+L_CTL+L_ALT+'o');
	MapKey(&Joystick, H3L, PULSE+L_CTL+'t');
	
	MapKey(&Joystick, H4U, PULSE+R_SHIFT+INS);
	MapKey(&Joystick, H4R, PULSE+DEL);
	MapKey(&Joystick, H4D, PULSE+R_CTL+INS);
	MapKey(&Joystick, H4L, PULSE+R_ALT+INS);
	MapKey(&Joystick, H4P, PULSE+INS);
	
	MapKeyUMD(&Joystick, H1U, 'm', 'm', R_CTL+'m');
	MapKeyUMD(&Joystick, H1D, ':', ':', R_CTL+':');
	MapKeyUMD(&Joystick, H1L, ';', ';', R_CTL+';');
	MapKeyUMD(&Joystick, H1R, '!', '!', R_CTL+'!');
	
	MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYX, 0, 0, 0, 2, 0);
	MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Joystick, JOYY, 0, 0, 0, 2, 0);
	
	
	MapKey(&Throttle, SC, TEMPO(DX1, PULSE+USB[0x64], 500));
	
	MapKeyUMD(&Throttle, MSP, ENT, ENT, PULSE+L_ALT+'l');
	MapKeyUMD(&Throttle, MSU, PULSE+'$', PULSE+'$', PULSE+R_ALT+'j');
	MapKeyUMD(&Throttle, MSR, PULSE+'=', PULSE+'=', PULSE+R_ALT+'l');
	MapKeyUMD(&Throttle, MSD, PULSE+USB[47], PULSE+USB[47], PULSE+R_SHIFT+'j');
	MapKeyUMD(&Throttle, MSL, PULSE+')', PULSE+')', PULSE+R_CTL+'j');
	
	MapKey(&Throttle, SPDF, DX7);
	MapKeyR(&Throttle, SPDF, DX7);
	MapKey(&Throttle, SPDB, DX8);
	MapKey(&Throttle, SPDM, 0);

	MapKey(&Throttle, BSF, PULSE+'s');
	MapKey(&Throttle, BSB, PULSE+'s');
	MapKeyR(&Throttle, BSB, PULSE+'s');
	
	MapKey(&Throttle, CHF, PULSE+'i');
	MapKey(&Throttle, CHB, TEMPO(PULSE+'y', PULSE+'u', 500));
	
	MapKeyUMD(&Throttle, LTB, PULSE+L_ALT+'r', 'f', 'f');
	
	MapKey(&Throttle, LDGH, PULSE+'l');
	
	MapKey(&Throttle, FLAPU, PULSE+PGUP);
	MapKey(&Throttle, FLAPD, PULSE+PGDN);
	MapKey(&Throttle, FLAPM, 0);
	
	MapKey(&Throttle, EACON, PULSE+DX24);
	MapKey(&Throttle, EACOFF, PULSE+DX24);
	
	MapKey(&Throttle, RDRNRM, PULSE+DX25);
	MapKey(&Throttle, RDRDIS, PULSE+DX25);
	
	MapKey(&Throttle, APENG, PULSE+KP9);
	MapKey(&Throttle, APPAT, PULSE+L_ALT+'x');
	MapKeyR(&Throttle, APPAT, PULSE+L_ALT+'x');
	MapKey(&Throttle, APALT, PULSE+L_ALT+'x');
	
	MapKeyUMD(&Throttle, IDLERON, 0, 0, CHAIN(D(50), PULSE+DX29));
	MapKeyUMD(&Throttle, IDLEROFF, 0, 0, CHAIN(D(50), PULSE+DX29));
	MapKeyUMD(&Throttle, IDLELON, 0, 0, PULSE+DX30);
	MapKeyUMD(&Throttle, IDLELOFF, 0, 0, PULSE+DX30);
	
	MapKey(&Throttle, CSU, PULSE+'v');
	MapKey(&Throttle, CSD, PULSE+'n');
	MapKey(&Throttle, CSL, 0);
	MapKey(&Throttle, CSR, 0);
	
    KeyAxis(&Throttle, SCY, 0, AXMAP2( LIST( 0, 10, 90 ), USB[84], 0, USB[85]));
    KeyAxis(&Throttle, THR_FC, 0, AXMAP2( LIST( 0, 10, 90 ), PULSE+'g', 0, PULSE+'g'));
    
	SetSCurve(&Throttle, SCX, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, SCY, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_RIGHT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_LEFT, 0, 0, 0, 0, 0);
	MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
	SetSCurve(&Throttle, THR_FC, 0, 0, 0, 0, 0);

}
int EventHandle(int type, alias o, int x)
{
	DefaultMapping(&o, x);
}

I changed most of the default commands for Cliffs of Dover and Rise Of Flight, so don' t use those profiles as they are. (On top of that I got an AZERTY french keyboard).

Last edited by ElGringo; 10-26-2012 at 04:34 PM.
Reply With Quote
  #3  
Old 10-29-2012, 02:49 PM
Stublerone Stublerone is offline
Approved Member
 
Join Date: Sep 2011
Posts: 250
Default

But I always think: Why did I bought that stick when not using its features. On my old x52 I mapped so much on every mode and also pinky switched.

It also has to do with a lack of toggle switches, which will go back to middle position to use it sufficiently with the pinky switch function. I know, that most commands could be set on one layout, because e.g. Starting period is done with cockpit clicks, but I just asking for cool ideas, what could be useful in clod, perhaps switching to lotfe in bomber, pull in stabilizer and so on when switchinfg from mode 2 to 3.

I can sufficiently fly, but sometimes I have the feeling to do more on the hotas to get the pit feeling

Sure, that on bs or a10 you could really bring it to the top. How great would the warthog be with renameable plates and toggles, instead of the ordinary switches. But nevertheless the stick itself is freaking great. They should introduce a force feedback addon for clod.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:09 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.