Ce post vous explique comment transformer votre profil Target GUI en profil Target Script editor, et le fonctionnement des courbes de réponses :
http://www.checksix-forums.com/viewtopi ... 3&t=193201
Ensuite voila mon profil, ce qui peux vous intéresser c'est de récupérer les courbes que j'ai travaillé et testé :
Code : Tout sélectionner
include "target.tmh"
int listXC, listYC, listXR, listYR, listGC, listGR, main()
{
Configure(&HCougar, MODE_EXCLUDED);
Configure(&T16000, MODE_EXCLUDED);
Configure(&T16000L, MODE_EXCLUDED);
Configure(&LMFD, MODE_EXCLUDED);
Configure(&RMFD, MODE_EXCLUDED);
Configure(&TFRPRudder, MODE_EXCLUDED);
Configure(&TWCSThrottle, MODE_EXCLUDED);
if(Init(&EventHandle)) return 1;
listXC = LIST(0,0, 10,10, 20,20, 30,30, 40,40, 50,50, 60,60, 70,70, 80,80, 90,90, 100,100);
listYC = LIST(0,0, 10,10, 20,20, 30,30, 40,40, 50,50, 60,60, 70,70, 80,80, 90,90, 100,100);
listGC = LIST(0,0, 10,10, 20,20, 30,30, 40,40, 50,50, 60,60, 70,70, 80,80, 90,90, 100,100);
listXR = LIST(0,25, 10,30, 20,35, 30,40, 40,45, 50,50, 60,55, 70,60, 80,65, 90,70, 100,75);
listYR = LIST(0,25, 10,30, 20,35, 30,40, 40,45, 50,50, 60,55, 70,60, 80,65, 90,70, 100,75);
listGR = LIST(0,0, 10,5, 20,10, 30,15, 40,20, 50,25, 60,30, 70,35, 80,40, 90,45, 100,50);
SetKBRate(32, 50);
SetKBLayout(KB_FR);
MapKey(&Throttle, EFLOVER, CHAIN(PULSE+ EXEC("SetCustomCurve(&Joystick, JOYX, listXC);""SetCustomCurve(&Joystick, JOYY, listYC);""SetCustomCurve(&Throttle, THR_RIGHT, listGC);"),PULSE+L_ALT+'r'));
MapKey(&Throttle, EFLNORM, CHAIN(PULSE+ EXEC("SetCustomCurve(&Joystick, JOYX, listXR);""SetCustomCurve(&Joystick, JOYY, listYR);""SetCustomCurve(&Throttle, THR_RIGHT, listGR);"),PULSE+'r'));
MapKey(&Joystick, TG1, SPC);
MapKey(&Joystick, S1, L_ALT+'q');
MapKey(&Joystick, S2, SPC);
MapKey(&Joystick, S3, PULSE+'s');
MapKey(&Joystick, S4, PULSE+F12);
MapKey(&Joystick, H2U, PULSE+ENT);
MapKey(&Joystick, H2R, PULSE+'v');
MapKey(&Joystick, H2D, PULSE+BSP);
MapKey(&Joystick, H2L, PULSE+'d');
MapKey(&Joystick, H3U, 'm');
MapKey(&Joystick, H3R, '!');
MapKey(&Joystick, H3D, ':');
MapKey(&Joystick, H3L, ';');
MapKey(&Joystick, H4U, PULSE+INS);
MapKey(&Joystick, H4R, PULSE+R_SHIFT+'j');
MapKey(&Joystick, H4D, PULSE+DEL);
MapKey(&Joystick, H4L, PULSE+R_CTL+'j');
MapKey(&Joystick, H4P, PULSE+'o');
MapKey(&Joystick, H1U, R_CTL+'z');
MapKey(&Joystick, H1D, R_CTL+'s');
MapKey(&Joystick, H1L, R_CTL+'q');
MapKey(&Joystick, H1R, R_CTL+'d');
MapAxis(&Joystick, JOYX, DX_X_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
SetSCurve(&Joystick, JOYX, 0, 0, 0, 0, 0);
MapAxis(&Joystick, JOYY, DX_Y_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
SetSCurve(&Joystick, JOYY, 0, 0, 0, 0, 0);
MapKey(&Throttle, SC, PULSE+'l');
MapKey(&Throttle, MSU, L_SHIFT+USB[87]);
MapKey(&Throttle, MSR, PULSE+'=');
MapKey(&Throttle, MSD, L_ALT+USB[86]);
MapKey(&Throttle, MSL, PULSE+')');
MapKey(&Throttle, SPDF, PULSE+L_SHIFT+'b');
MapKey(&Throttle, SPDB, PULSE+L_SHIFT+'b');
MapKey(&Throttle, BSF, L_CTL+'é'+256);
MapKey(&Throttle, BSB, L_CTL+'&');
MapKey(&Throttle, CHF, L_SHIFT+'d');
MapKey(&Throttle, CHB, L_CTL+'d');
MapKey(&Throttle, PSF, PULSE+R_CTL+'l');
MapKey(&Throttle, PSB, PULSE+R_CTL+R_SHIFT+'l');
MapKey(&Throttle, LTB, 'z');
MapKey(&Throttle, EFRNORM, PULSE+'y');
MapKey(&Throttle, FLAPU, L_SHIFT+'s');
MapKey(&Throttle, FLAPD, L_SHIFT+L_ALT+'s');
MapKey(&Throttle, EACON, PULSE+'à'+256);
MapKey(&Throttle, RDRNRM, PULSE+L_CTL+L_SHIFT+'g');
MapKey(&Throttle, APPAT, PULSE+L_SHIFT+'h');
MapKey(&Throttle, APALT, PULSE+'h');
MapKey(&Throttle, EOLIGN, PULSE+'p');
MapKey(&Throttle, EORIGN, PULSE+R_ALT+'l');
MapKey(&Throttle, EFROVER, PULSE+L_SHIFT+'y');
MapKey(&Throttle, EACOFF, PULSE+'à'+256);
MapKey(&Throttle, RDRDIS, PULSE+L_CTL+L_SHIFT+'g');
MapKey(&Throttle, APDIS, PULSE+'q');
MapKey(&Throttle, IDLERON, PULSE+R_SHIFT+END);
MapKey(&Throttle, SPDM, PULSE+L_CTL+'b');
MapKey(&Throttle, APAH, CHAIN( PULSE+'q', D(), PULSE+'q'));
MapKey(&Throttle, CSU, PULSE+L_CTL+'u');
MapKey(&Throttle, CSD, PULSE+'\"');
MapKey(&Throttle, CSR, PULSE+L_SHIFT+'u');
MapKey(&Throttle, CSL, PULSE+L_ALT+'u');
KeyAxis(&Throttle, SCX, 0, AXMAP2( LIST( 0, 30, 70 ), ';', 0, '!' ));
KeyAxis(&Throttle, SCY, 0, AXMAP2( LIST( 0, 20, 80 ), 'm', 0, ':' ));
MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE);
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);
}
En tout cas maintenant je ravitaille une main dans le dos et un oeil fermé