Soucis Target et BMS
Soucis Target et BMS
#1Bonjour,
Depuis quelques jours, j'ai des soucis avec mon profil Target. En effet, celui-ci fonctionne correctement, il me créait bien le "Thrusmaster Combined" qui apparait dans BMS. Mais le soucis est que, comme auparavant, il ne supprime pas le Joystick et la Throttle :
De ce fait, lorsque j'affecte une touche sur une action, il prend en compte l'appuie du Thrustmaster Combined, et tu joystick ou throttle en même temps, se qui créer un conflit. Dans mes souvenirs, je n'avais auparavant que le Thrustmaster Combined qui apparaissait dans les device disponible dans BMS. Si quelqu'un a une idée ...
Depuis quelques jours, j'ai des soucis avec mon profil Target. En effet, celui-ci fonctionne correctement, il me créait bien le "Thrusmaster Combined" qui apparait dans BMS. Mais le soucis est que, comme auparavant, il ne supprime pas le Joystick et la Throttle :
De ce fait, lorsque j'affecte une touche sur une action, il prend en compte l'appuie du Thrustmaster Combined, et tu joystick ou throttle en même temps, se qui créer un conflit. Dans mes souvenirs, je n'avais auparavant que le Thrustmaster Combined qui apparaissait dans les device disponible dans BMS. Si quelqu'un a une idée ...
Re: Soucis Target et BMS
#2SAlut, par hasard Windows 10 , Teamspeak!?
Saitek Rudders, Écran: ACER XB281HK, Philips 244E
Re: Soucis Target et BMS
#3Oui, les deux, mais cela fonctionner il y a 1 semaine, je ne comprends pas. Je ne pense que ça vienne de Teamspeak ou de windows :/
Re: Soucis Target et BMS
#4Voici le script que j'utilise :
Code : Tout sélectionner
include "target.tmh" //here we link this file to the file that contains function code
int main()
{
//***** USE DonLduk TMWH 433.key in Falcon BMS for this Script to work properly ****//
Configure(&LMFD, MODE_EXCLUDED);
Configure(&RMFD, MODE_EXCLUDED);
Configure(&TFRPRudder, MODE_EXCLUDED);
Configure(&TWCSThrottle, MODE_EXCLUDED);
Configure(&HCougar, MODE_EXCLUDED);
Configure(&T16000, MODE_EXCLUDED);
Configure(&T16000L, MODE_EXCLUDED);
if(Init(&EventHandle)) return 1; // declare the event handler, return on error
//script and function functions go here
SetKBRate(35, 50);
SetKBLayout(KB_ENG);
SetShiftButton(&Joystick, S4);
//LED WORKS: ALL OFF AND INTENSITY LOW
ActKey(PULSE+KEYON+LED(&Throttle, LED_INTENSITY, 49)); // LED INTENSITY INITIALIZE
ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1)); //Initialize LED1 off
ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED2)); //Initialize LED2 off
ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED3)); //Initialize LED3 off
ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4)); //Initialize LED4 off
ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5)); //Initialize LED5 off
//LED Throttle Position Indicator; LED 1 - MIL Power; LED 1-5 AB
KeyAxis(&Throttle, THR_LEFT, 0, AXMAP2( LIST( 0, 65, 75 ),
CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5)),
CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT+LED4), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5)),
CHAIN( LED(&Throttle, LED_ONOFF, LED_CURRENT+LED4), D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED5)) ));
////////////////// AXIS CONTROLS //////////////////////////////
MapAxis(&Joystick, JOYX, DX_X_AXIS);
SetSCurve(&Joystick, JOYX, 0, 1, 0, 0, 0); //a small center deadzone for the joystick; feel free to rem out this line
MapAxis(&Joystick, JOYY, DX_Y_AXIS);
SetSCurve(&Joystick, JOYY, 0, 1, 0, 0, 0); //a small center deadzone for the joystick; feel free to rem out this line
MapAxis(&Throttle, THR_LEFT, DX_ZROT_AXIS);
SetCustomCurve(&Throttle, THR_LEFT, LIST(0,5, 65,70, 75,70, 100,100)); //start at 5% for idle cuttoff & create a deadzone between 65% and 75% for AB
MapAxis(&Throttle, THR_RIGHT, DX_Z_AXIS);
SetCustomCurve(&Throttle, THR_RIGHT, LIST(0,5, 65,70, 75,70, 100,100)); //start at 5% for idle cuttoff & create a deadzone between 65% and 75% for AB
MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL);
SetSCurve(&Throttle, SCX, 0, 4, 0, 15, 3); //Negative number at the end reduces the sensitivity of the cursor X-axis
MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_REVERSED);
SetSCurve(&Throttle, SCY, 0, 4, 0, 15, 3); //Negative number at the end reduces the sensitivity of the cursor Y-axis
MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS);
SetSCurve(&Throttle, THR_FC, 0, 5, 0, -1, 0); //balance reaction in center. remove spikes.
// Idle Cutoff Code
//SetSCurve(&Joystick, JOYX,
//5, //Left Deadzone set to 5%
//2, //Center Deadzone set to 2%
//5, //Right Deadzone set to 5%
//3, //Curve set to 3
//0 //Scale/zoom neutral
//);
MapKey (&Throttle, IDLELON,
EXEC("TrimDXAxis(DX_ZROT_AXIS, 90);"
));
MapKeyR (&Throttle, IDLELON,
EXEC("TrimDXAxis(DX_ZROT_AXIS, SET(0));"
));
MapKey (&Throttle, IDLERON,
EXEC("TrimDXAxis(DX_Z_AXIS, 90);"
));
MapKeyR (&Throttle, IDLERON,
EXEC("TrimDXAxis(DX_Z_AXIS, SET(0));"
));
////////////////// JOYSTICK KEY MAPPING //////////////////////////////
//TG1
//keyfile controlled DX1
//Pickle/S2
//keyfile controlled DX2
//Pinky/S3
MapKey(&Joystick, S3, TEMPO(DX3, F11, 300)); //DX3 , hold: AutoPilot Override
//Paddle/S4
MapKey(&Joystick, S4, TEMPO //Tempo for short and long
(
PULSE + F12, //Reset trackir
CHAIN
(LED(&Throttle, LED_ONOFF, LED_CURRENT + LED1), DX4) //DX4 para shift con long function: LED1 ON + Shift
,200
)
);
MapKeyR(&Joystick, S4, LED(&Throttle, LED_ONOFF, LED_CURRENT - LED1)); //LED1 off on Release
//MslStep/S1
//keyfile controlled DX5
//TG2
//keyfile controlled DX6
//TMS/H2
//keyfile controlled DX 7U,8R,9D,10L
//DMS/H3
//keyfile controlled DX 11U, 12R, 13D, 14L
//CMS/H4/Z-Axis
//keyfile controlled DX 15U, 16R, 17D, 18L, 19P
////////////////// THROTTLE KEY MAPPING //////////////////////////////
//Left Throttle Button
//keyfile controlled // DX 20
//Cursor Button
//keyfile controlled DX21
//Coolie Switch
//keyfile controlled DX 22U, 23R, 24D, 25L
//Mic Switch
MapKeyIO(&Throttle, MSU, DX27, CHAIN( L_ALT + F5, DX27)); //normal: comm , shifted: req pict (key file controlled) DX27U
MapKey(&Throttle, MSR , DX28); //normal: comm switch R, shifted: vector to threat
MapKeyIO(&Throttle, MSD, DX29, CHAIN( L_ALT + F5, DX29)); //normal: comm y TS, shifted: declare (key file controlled) DX29D
MapKey(&Throttle, MSL , DX30); //normal: comm switch R, shifted: wngmn attck target
MapKey(&Throttle, MSP, DX26); //DX26
//Speedbrakes
//keyflie controlled DX31F 32B
//Boat Switch
MapKey(&Throttle, BSF, PULSE+'m');
MapKey(&Throttle, BSM, PULSE+'c');
MapKey(&Throttle, BSB, PULSE+'d');
//China Hat AXIS(MOUSE_Y_AXIS, -80, 20));
MapKeyIO(&Throttle, CHF, TEMPO(0, L_CTL+'j', 1500), AXIS(DX_THROTTLE_AXIS, 200, 20));
MapKey(&Throttle, CHB, AXIS(DX_THROTTLE_AXIS, 200, 20));
MapKeyIO(&Throttle, CHB, TEMPO(0, L_CTL+'e', 1500), AXIS(DX_THROTTLE_AXIS, -200, 20));
// Pinky Switch - External Lights
// Taken from MUD's profile from BMS Forums
//Forward = Navigation Lights: Steady - Anti-Collision: On
MapKey(&Throttle, PSF, CHAIN(
LOCK+PULSE+L_SHIFT+USB[0x0C],LOCK, //Steady ** USB I **
D(),
LOCK+PULSE+L_SHIFT+L_CTL+USB[0x12],LOCK, //Bright ** USB O **
D(),
LOCK+PULSE+L_CTL+L_SHIFT+USB[0x18],LOCK, //Anticollision On ** USB U **
D(),
LOCK+PULSE+L_CTL+USB[0x10],LOCK //Master On ** USB M **
));
//Center = All Lights Off
MapKey(&Throttle, PSM, LOCK+PULSE+L_ALT+USB[0x10],LOCK ); //Master Off ** USB M **
//Backward = Navigation Light: Flash - Anti-Collision: Off
MapKey(&Throttle, PSB, CHAIN(
LOCK+PULSE+L_SHIFT+L_CTL+USB[0x0C],LOCK, //Flash ** USB I **
D(),
LOCK+PULSE+L_SHIFT+L_CTL+USB[0x12],LOCK, //Bright ** USB O **
D(),
LOCK+PULSE+L_CTL+L_SHIFT+USB[0x18],LOCK, //Anticollision On ** USB U **
D(),
LOCK+PULSE+L_CTL+USB[0x10],LOCK //Master On ** USB M **
));
//Engine Fuel Flow Left
MapKey(&Throttle, EFLNORM, PULSE+L_SHIFT+'c'); //CAT I
MapKey(&Throttle, EFLOVER, PULSE+L_CTL+L_ALT+L_SHIFT+'c'); //CAT III
//Engine Fuel Flow Right
MapKey(&Throttle, EFRNORM, PULSE+L_CTL+'l'); //LaserON
MapKey(&Throttle, EFROVER, PULSE+L_CTL+L_ALT+L_SHIFT+'l'); //LaserOff
//Engine Operate Left
MapKeyIO(&Throttle, EOLIGN,
SEQ(
LED(&Throttle, LED_INTENSITY, 129),
LED(&Throttle, LED_INTENSITY, 172),
LED(&Throttle, LED_INTENSITY, 215),
LED(&Throttle, LED_INTENSITY, 1),
LED(&Throttle, LED_INTENSITY, 43),
LED(&Throttle, LED_INTENSITY, 86)
),
PULSE + L_SHIFT + 'j'); //JFS / Shifted: LED Intensity
MapKey(&Throttle, EOLNORM, PULSE+L_SHIFT+L_CTL+'e'); //Fuel Norm
MapKey(&Throttle, EOLMOTOR, PULSE+L_SHIFT+L_CTL+'w'); //Fuel OFF
//Engine Operate Right
MapKey(&Throttle, EORIGN, PULSE++L_ALT+'t'); //Vector Trust
MapKey(&Throttle, EORNORM, 0);
MapKey(&Throttle, EORMOTOR, PULSE++L_CTL+'a'); //TFR Toggle
//APU
MapKey(&Throttle, APUON, PULSE+L_ALT+'e'); //EPU ON
MapKey(&Throttle, APUOFF, PULSE+L_SHIFT+L_ALT+'e'); //EPU OFF
//Landing Gear
MapKeyIO(&Throttle, LDGH,
L_CTL+'j', //Shift: EmergencyJetison
TEMPO(PULSE+'g',PULSE+L_CTL+'g',500)); //Gear, Tempo 500: SilenceHorn.
//Autopilot
MapKey(&Throttle, APPAT, PULSE+L_CTL+L_ALT+'u'); //AP ALT HOLD
MapKey(&Throttle, APAH, PULSE+L_CTL+L_ALT+'i'); //AP OFF
MapKey(&Throttle, APALT, PULSE+L_CTL+L_ALT+'o'); //AP ATT Pitch hold
//Autopilot Engage/Disengage
MapKeyIO(&Throttle, APDIS,
(PULSE+L_SHIFT+'l'), //Shifted: Landing Light
PULSE+L_ALT+'p' //Parking Brake
);
//Radar Altimeter
MapKey(&Throttle, RDRNRM, PULSE+L_CTL+'r'); //RF TX
MapKey(&Throttle, RDRDIS, PULSE+L_CTL+L_ALT+L_SHIFT+'r'); //RF
//EAC
MapKey(&Throttle, EACON, PULSE+L_SHIFT+'m'); //Master ARM ON
MapKey(&Throttle, EACOFF, PULSE+L_CTL+L_ALT+L_SHIFT+'m'); //Master ARM SAFE
//Flaps
MapKey(&Throttle, FLAPU, PULSE+L_CTL+L_ALT+'e'); //AP Hdg
MapKey(&Throttle, FLAPM, PULSE+L_CTL+L_ALT+'r'); //AP ATT Hld
MapKey(&Throttle, FLAPD, PULSE+L_CTL+L_ALT+'t'); //AP Steering
//Idle Off
//See Idle Cutoff code in Axis Controls
}
int EventHandle(int type, alias o, int x)
{
DefaultMapping(&o, x);
}
Re: Soucis Target et BMS
#5Ahh que si ça vient de Teamspeak, le sujet n'est pas nouveau, il me semble qu'il faille mettre TS en mod compatibilité W7. Pour info moi qui suit sous W7, il faut que lance le profil TARGET avant TS et couper TS avant TARGET (et si je veux changer de profil même combat) sinon même soucis que toi, pour mon cas c'est arrivé au mois de juillet suite à une mise à jour de TSFlyschool a écrit :Oui, les deux, mais cela fonctionner il y a 1 semaine, je ne comprends pas. Je ne pense que ça vienne de Teamspeak ou de windows :/
Re: Soucis Target et BMS
#7Comme l'a dit Morpheus, probleme connu , content que ca soit résolu
Saitek Rudders, Écran: ACER XB281HK, Philips 244E