

pabletesoy
Members-
Posts
350 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by pabletesoy
-
target script, curve functions to diferent controls
pabletesoy replied to pabletesoy's topic in Thrustmaster
May be a better way to ask is if it,s possible to use IOUMD with SetSCurve, so we can apply different curve configuations to each diferent action in the same buttom. I hope I explained myself this time. -
target script, curve functions to diferent controls
pabletesoy replied to pabletesoy's topic in Thrustmaster
Mmm...I don't know if I understand you ... what I want to do is use Hat 1 for the trim of the plane and to handle the mouse, depending on the layer. That is easy, the problem is that I want to control the curve of the movement of the mousebecause is very linear. When I use the curve function, I guess it is affecting the trim and the mouse, is itcorrect? what really whant is that the curve only affects the mouse. Sorry for my english! -
Hello: I want (in Target script) to apply two functions to the same button. In the standard layer, the trim and in the Up layer, the mouse control, and the control the amount of movement with an Curce function: Somethis like this: MapKeyUMD(&Joystick, H1U, AXIS(MOUSE_Y_AXIS, -80, 20), R_SHIFT+DARROW); // Mouse Up, Tim Up SetSCurve(&Throttle, SCX, 0, 0, 0, 20, 0); // Control curve The question is: how can I apply a trim curve funtion and a mouse curve funtion? Thanks!
-
Script form Target compile and run but it doesn't work
pabletesoy replied to pabletesoy's topic in Thrustmaster
Ok, I,ve cleaned the script and run perfectly. Very good tips! I have attached the archive, I know you don,t need it, it,s courtesy. ejes2.zip -
Script form Target compile and run but it doesn't work
pabletesoy replied to pabletesoy's topic in Thrustmaster
Sorry, may be here is the main fail: SetShiftButton(&Joystick, S4, &Throttle, SPDF, BSB); It should be SetShiftButton(&Joystick, S4, &Throttle, BSF, BSB); I,m going to test it, but I'm going to order it to work or not. -
Script form Target compile and run but it doesn't work
pabletesoy replied to pabletesoy's topic in Thrustmaster
I,m going to try to put order here and clean the script. I whant the S4 button as modifier (IO) and the DSB+M+F swich buttons as layers. I write this: SetShiftButton(&Joystick, S4, &Throttle, BSB, BSF); //LAYERS MapKeyIOUMD(&Joystick, S1, 'U', 'U', 'M', 'M', 'D', 'D'); //to test it what´s wrong? -
Script form Target compile and run but it doesn't work
pabletesoy replied to pabletesoy's topic in Thrustmaster
Yes, it is very messy. It is my first script and I did from Target UI. I should learn to use macros... Layer U is not used, so it has no LEDs assigned. I don't understand "layer U generates stuff on it's own", what do you mean? Do you think that if I clean it will solve the problem? the faisl are very extranges...I don't know if the problem is on the script, windows, usb, dcs... -
Script form Target compile and run but it doesn't work
pabletesoy replied to pabletesoy's topic in Thrustmaster
More extranger things...sometimes, when the script run, the event tester recognizes the actions but, inside DCS, some buttons (they are usually the same always) stop working. When I test that buttons inside the contros window of the plane they are workin! This is very very strange... I have another scrip from another plane and it seems to work perfectly. -
Script form Target compile and run but it doesn't work
pabletesoy replied to pabletesoy's topic in Thrustmaster
I don,t know if it is a good idea, but I directly paste here the script, may be better than download the files... include "target.tmh" int main() { Configure(&HCougar, MODE_EXCLUDED); Configure(&JoystickF18, 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); Configure(&TFRPHARudder, MODE_EXCLUDED); if(Init(&EventHandle)) return 1; SetKBRate(32, 50); SetKBLayout(KB_ENG); SetShiftButton(&Joystick, S4, &Throttle, SPDF, BSB, 0); MapKeyIOUMD(&Joystick, TG1, 0, PULSE+SPC, 0, PULSE+SPC, 0, PULSE+SPC); MapKeyIOUMD(&Joystick, S2, 0, 0, 'w', 'w', 0, TEMPO( PULSE+L_ALT+'w', R_SHIFT+'o', 400)); MapKeyIOUMD(&Joystick, S3, 0, 0, PULSE+R_CTL+ENT, TEMPO( R_CTL+F12, R_SHIFT+R_CTL+F12, 300), 0, 0); MapKey(&Joystick, S1, TEMPO( SEQ( PULSE+'=', PULSE+'-'), 'o', 400)); MapKeyIOUMD(&Joystick, TG2, PULSE+'t', SPC, PULSE+'t', SPC, PULSE+'t', SPC); MapKeyIOUMD(&Joystick, H2U, 0, 0, 0, TEMPO( PULSE+'1', R_CTL+'h', 600), 0, PULSE+'v'); MapKeyIOUMD(&Joystick, H2R, 0, 0, 0, TEMPO( PULSE+R_SHIFT+R_CTL+']', R_SHIFT+R_CTL+'h', 500), 0, PULSE+L_CTL+SPC); MapKeyIOUMD(&Joystick, H2D, 0, 0, 0, TEMPO( SEQ( PULSE+'6', PULSE+'7'), '8', 500), 0, PULSE+'c'); MapKeyIOUMD(&Joystick, H2L, 0, 0, 0, TEMPO( PULSE+R_SHIFT+R_CTL+'[', R_SHIFT+R_ALT+'h', 300), 0, PULSE+'d'); MapKeyIOUMD(&Joystick, H3U, PULSE+F1, USB[85], PULSE+F1, USB[85], PULSE+F1, USB[85]); MapKeyIOUMD(&Joystick, H3R, SEQ( PULSE+F6, PULSE+L_CTL+F6, PULSE+F1), SEQ( PULSE+F10, PULSE+F1), SEQ( PULSE+F6, PULSE+L_CTL+F6, PULSE+F1), SEQ( PULSE+F10, PULSE+F1), SEQ( PULSE+F6, PULSE+L_CTL+F6, PULSE+F1), SEQ( PULSE+F10, PULSE+F1)); MapKeyIOUMD(&Joystick, H3D, PULSE+F7, USB[84], PULSE+F7, USB[84], PULSE+F7, USB[84]); MapKeyIOUMD(&Joystick, H3L, PULSE+F12, SEQ( PULSE+L_CTL+F2, PULSE+F3, PULSE+F1), PULSE+F12, SEQ( PULSE+L_CTL+F2, PULSE+F3, PULSE+F1), PULSE+F12, SEQ( PULSE+L_CTL+F2, PULSE+F3, PULSE+F1)); MapKeyIOUMD(&Joystick, H1U, 0, R_SHIFT+DARROW, 0, R_SHIFT+DARROW, 0, R_SHIFT+DARROW); MapKeyIOUMD(&Joystick, H1D, 0, R_SHIFT+UARROW, 0, R_SHIFT+UARROW, 0, R_SHIFT+UARROW); MapKeyIOUMD(&Joystick, H1L, R_CTL+'z', R_SHIFT+LARROW, R_CTL+'z', R_SHIFT+LARROW, R_CTL+'z', R_SHIFT+LARROW); MapKeyIOUMD(&Joystick, H1R, R_CTL+'x', R_SHIFT+RARROW, R_CTL+'x', R_SHIFT+RARROW, R_CTL+'x', R_SHIFT+RARROW); MapKey(&Joystick, H4U, 'j'); MapKey(&Joystick, H4R, 's'); MapKey(&Joystick, H4L, 'n'); MapKey(&Joystick, H4D, 'y'); MapKey(&Joystick, H4P, '9'); 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); MapKeyIOUMD(&Throttle, SC, 0, 0, L_ALT+'a', L_ALT+'a', 0, TEMPO( PULSE+ENT, PULSE+BSP, 300)); MapKeyIOUMD(&Throttle, MSP, L_ALT+'a', L_ALT+'a', L_ALT+'a', L_ALT+'a', L_ALT+'a', L_ALT+'a'); MapKey(&Throttle, MSU, TEMPO( SEQ( L_ALT+'1', L_ALT+'9'), SEQ( L_ALT+'6', L_ALT+'9'), 600)); MapKeyIOUMD(&Throttle, MSR, SEQ( PULSE+L_ALT+'2', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'2', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'2', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'2', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'2', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'2', PULSE+L_ALT+'9')); MapKeyIOUMD(&Throttle, MSD, SEQ( PULSE+L_ALT+'3', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'3', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'3', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'3', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'3', PULSE+L_ALT+'9'), SEQ( PULSE+L_ALT+'3', PULSE+L_ALT+'9')); MapKey(&Throttle, MSL, TEMPO( SEQ( L_ALT+'5', L_ALT+'9'), SEQ( L_ALT+'4', L_ALT+'9'), 600)); MapKeyIOUMD(&Throttle, SPDF, PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b'); MapKeyIOUMD(&Throttle, SPDB, PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b', PULSE+L_SHIFT+'b'); MapKeyIOUMD(&Throttle, BSB, LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED1)); MapKeyIOUMD(&Throttle, CHF, 0, 0, 0, PULSE+L_SHIFT+'g', 0, PULSE+INS); MapKeyIOUMD(&Throttle, CHB, 0, 0, 0, PULSE+L_CTL+'g', 0, PULSE+DEL); MapKey(&Throttle, PSF, CHAIN( PULSE+L_ALT+'r', D(), PULSE+L_ALT+'r', D(), PULSE+L_ALT+'r')); MapKey(&Throttle, PSB, CHAIN( PULSE+L_CTL+'w', D(), PULSE+L_CTL+'w', D(), PULSE+L_CTL+'w', D(), PULSE+L_CTL+'w')); MapKeyIOUMD(&Throttle, LTB, PULSE+'p', PULSE+'p', PULSE+'p', PULSE+'p', PULSE+'p', PULSE+'p'); MapKey(&Throttle, EFLNORM, PULSE+L_CTL+'c'); MapKey(&Throttle, EFRNORM, CHAIN( DOWN+'i', D(), DOWN+R_CTL+'o')); MapKeyR(&Throttle, EFRNORM, CHAIN( D(300), UP+'i', D(), UP+R_CTL+'o', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5))); MapKey(&Throttle, EFROVER, CHAIN( DOWN+'i', D(), DOWN+R_CTL+'o')); MapKeyR(&Throttle, EFROVER, CHAIN( D(300), UP+'i', D(), UP+R_CTL+'o', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED5))); MapKey(&Throttle, APPAT, CHAIN( DOWN+'m', D(), DOWN+L_SHIFT+'e')); MapKeyR(&Throttle, APPAT, CHAIN( D(300), UP+'m', D(), UP+L_SHIFT+'e', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4))); MapKey(&Throttle, APAH, CHAIN( DOWN+'m', D(), DOWN+L_SHIFT+'e')); MapKeyR(&Throttle, APAH, CHAIN( D(300), UP+'m', D(), UP+L_SHIFT+'e', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED4))); MapKey(&Throttle, APALT, CHAIN( DOWN+'m', D(), DOWN+L_SHIFT+'e')); MapKeyR(&Throttle, APALT, CHAIN( D(300), UP+'m', D(), UP+L_SHIFT+'e', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4))); MapKeyIOUMD(&Throttle, EOLMOTOR, PULSE+R_ALT+END, PULSE+R_ALT+END, PULSE+R_ALT+END, PULSE+R_ALT+END, PULSE+R_ALT+END, PULSE+R_ALT+END); MapKeyIOUMD(&Throttle, EORMOTOR, PULSE+R_CTL+END, PULSE+R_CTL+END, PULSE+R_CTL+END, PULSE+R_CTL+END, PULSE+R_CTL+END, PULSE+R_CTL+END); MapKeyIOUMD(&Throttle, APUON, CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0))); MapKeyRIOUMD(&Throttle, APUON, CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l')); MapKey(&Throttle, LDGH, TEMPO ('m', 'l', 300)); MapKeyIOUMD(&Throttle, FLAPU, PULSE+'f', PULSE+'f', PULSE+'f', PULSE+'f', PULSE+'f', PULSE+'f'); MapKeyIOUMD(&Throttle, FLAPD, PULSE+L_SHIFT+'f', PULSE+L_SHIFT+'f', PULSE+L_SHIFT+'f', PULSE+L_SHIFT+'f', PULSE+L_SHIFT+'f', PULSE+L_SHIFT+'f'); MapKeyIOUMD(&Throttle, EACON, DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c'); MapKeyRIOUMD(&Throttle, EACON, CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c')); MapKeyIOUMD(&Throttle, RDRNRM, DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v'); MapKeyRIOUMD(&Throttle, RDRNRM, CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v')); MapKeyIOUMD(&Throttle, EOLIGN, PULSE+R_CTL+'l', PULSE+R_CTL+'l', PULSE+R_CTL+'l', PULSE+R_CTL+'l', PULSE+R_CTL+'l', PULSE+R_CTL+'l'); MapKeyIOUMD(&Throttle, EORIGN, 0, 0, PULSE+R_ALT+'l', PULSE+R_ALT+'l', 0, 0); MapKey(&Throttle, EFLOVER, PULSE+L_CTL+'c'); MapKeyIOUMD(&Throttle, APUOFF, CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0)), CHAIN( DOWN+R_SHIFT+'l', D(), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED0))); MapKeyRIOUMD(&Throttle, APUOFF, CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l'), CHAIN( D(300), UP+R_SHIFT+'l')); MapKeyIOUMD(&Throttle, EACOFF, DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c', DOWN+L_SHIFT+'c'); MapKeyRIOUMD(&Throttle, EACOFF, CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c'), CHAIN( D(300), UP+L_SHIFT+'c')); MapKeyIOUMD(&Throttle, RDRDIS, DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v', DOWN+L_CTL+'v'); MapKeyRIOUMD(&Throttle, RDRDIS, CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v'), CHAIN( D(300), UP+L_CTL+'v')); MapKeyIOUMD(&Throttle, APDIS, PULSE+R_SHIFT+'n', CHAIN( PULSE+L_CTL+'e', PULSE+L_CTL+'e', PULSE+L_CTL+'e'), PULSE+R_SHIFT+'n', CHAIN( PULSE+L_CTL+'e', PULSE+L_CTL+'e', PULSE+L_CTL+'e'), PULSE+R_SHIFT+'n', CHAIN( PULSE+L_CTL+'e', PULSE+L_CTL+'e', PULSE+L_CTL+'e')); MapKeyIOUMD(&Throttle, EOLNORM, PULSE+R_ALT+HOME, PULSE+R_ALT+HOME, PULSE+R_ALT+HOME, PULSE+R_ALT+HOME, PULSE+R_ALT+HOME, PULSE+R_ALT+HOME); MapKeyIOUMD(&Throttle, EORNORM, PULSE+R_CTL+HOME, PULSE+R_CTL+HOME, PULSE+R_CTL+HOME, PULSE+R_CTL+HOME, PULSE+R_CTL+HOME, PULSE+R_CTL+HOME); MapKeyIOUMD(&Throttle, FLAPM, PULSE+'f', PULSE+'f', PULSE+'f', PULSE+'f', PULSE+'f', PULSE+'f'); MapKeyIOUMD(&Throttle, SPDM, PULSE+L_CTL+'b', PULSE+L_CTL+'b', PULSE+L_CTL+'b', PULSE+L_CTL+'b', PULSE+L_CTL+'b', PULSE+L_CTL+'b'); MapKeyIOUMD(&Throttle, BSM, LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1), LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1)); MapKeyIOUMD(&Throttle, CSU, 0, 0, TEMPO( R_SHIFT+'k', R_SHIFT+'0', 600), TEMPO( R_SHIFT+'k', R_SHIFT+'0', 600), R_CTL+UARROW, R_CTL+UARROW); MapKeyIOUMD(&Throttle, CSD, 0, 0, TEMPO( R_CTL+'k', R_SHIFT+'9', 600), TEMPO( R_CTL+'k', R_SHIFT+'9', 600), R_CTL+DARROW, R_CTL+DARROW); MapKeyIOUMD(&Throttle, CSR, 0, 0, PULSE+']', PULSE+']', R_CTL+RARROW, R_CTL+RARROW); MapKeyIOUMD(&Throttle, CSL, 0, 0, PULSE+'[', PULSE+'[', R_CTL+LARROW, R_CTL+LARROW); KeyAxis(&Throttle, THR_LEFT, 'iu', AXMAP2( LIST( 0, 80 ), LED(&Throttle, LED_INTENSITY, 43), LED(&Throttle, LED_INTENSITY, 255) )); KeyAxis(&Throttle, THR_LEFT, 'ou', AXMAP2( LIST( 0, 80 ), LED(&Throttle, LED_INTENSITY, 43), LED(&Throttle, LED_INTENSITY, 255) )); KeyAxis(&Throttle, THR_LEFT, 'im', AXMAP2( LIST( 0, 80 ), LED(&Throttle, LED_INTENSITY, 43), LED(&Throttle, LED_INTENSITY, 255) )); KeyAxis(&Throttle, THR_LEFT, 'om', AXMAP2( LIST( 0, 80 ), LED(&Throttle, LED_INTENSITY, 43), LED(&Throttle, LED_INTENSITY, 255) )); KeyAxis(&Throttle, THR_LEFT, 'id', AXMAP2( LIST( 0, 80 ), LED(&Throttle, LED_INTENSITY, 43), LED(&Throttle, LED_INTENSITY, 255) )); KeyAxis(&Throttle, THR_LEFT, 'od', AXMAP2( LIST( 0, 80 ), LED(&Throttle, LED_INTENSITY, 43), LED(&Throttle, LED_INTENSITY, 255) )); MapAxis(&Throttle, SCX, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetSCurve(&Throttle, SCX, 50, 100, 50, 32, -10); MapAxis(&Throttle, SCY, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); SetSCurve(&Throttle, SCY, 49, 0, 50, -32, -10); 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); } -
Hello, I have a problem with a script that has been working right and since a few days it fails. The script is compiled and executed, but then, in the event tester, it doesn,t hardly ever do nothing, and and if it works it ends up failing.. I attach it and an image of its functions, in case anyone can help me. Thanks su25TSCRP.zip
-
.....\\bin\\DCS-exe""); I found the error, sorry!
-
Hello, I,m trying to load DCS from target script. Whe I play the script there are no fails, but DCS dosen,t start. I put the following line just before the first MapKey line. system("spawn -w "C:\\Program Files (x86)\\Steam\\steamapps\\common\\DCSWorld" "C:\\Program Files (x86)\\Steam\\steamapps\\common\\DCSWorld\\bin\\DCS-exe""); Any suggestion? thanks!
-
Yes, you told me in another thread that option (Target + JG) but for now I prefer to use only a shotware. Thanks a lot, very usefull answer.
-
Ok, now It works, thanks everybody, I,m learning a lot because of your help. The line of the script: MapKeyIOUMD(&Joystick, S1, TEMPO (R_CTL+F12, R_SHIFT+R_CTL+F12, 300), TEMPO (R_CTL+F12, R_SHIFT+R_CTL+F12, 300), TEMPO (R_CTL+F12, R_SHIFT+R_CTL+F12, 300), TEMPO (R_CTL+F12, R_SHIFT+R_CTL+F12, 300), TEMPO (R_CTL+F12, R_SHIFT+R_CTL+F12, 300) TEMPO (R_CTL+F12, R_SHIFT+R_CTL+F12, 300)); I take this opportunity to ask another question. Is it possible to apply a single and a double click to the same button (as you can do in Joestik gremling?
-
Sorry, I would like to delete this threat but I don,t know how...
-
Hello, I,ve got a problem with this line: MapKeyIOUMD(&Joystick, S1, 0, 0, 0, TEMPO (R_CTL+'F12', R_SHIFT+R_CTL+'F12', 300), 0, 0); when I press it, it´s execute LCtrl + RALt + RCtl + LWin Any suggestion? Thanks!
-
Hello, I,ve got a problem with this line: MapKeyIOUMD(&Joystick, S1, 0, 0, 0, TEMPO (R_CTL+'F12', R_SHIFT+R_CTL+'F12', 300), 0, 0); when I press it, it´s execute LCtrl + RALt + RCtl + LWin. If I change F12 for another key the problem disappear... Any suggestion? Thanks!
-
TrackIR problem rotation over 90º
pabletesoy replied to pabletesoy's topic in PC Hardware and Related Software
The problem is on the trackIR shofware but desapear in DCS...I think I'm satisfied whit this! -
Hello, cuando cargo el Target y entor en los contorles de DCS, me aprece una nueva columna "Thrumaster Virtual game controler" which seems to manage all the control from the JOestick and Hotas. One strange thing is that I can see the Joestik column too but not the Hotas column....is it normal? I,ve attached an image. And other problem, both Joestik and ThrumasterVirtualgamecontorles columns have asigned the sames axis and generates conflicts in the movements. I,ve solved that deleting the ThrumasterVirtualgamecontorles column axis, is this the correct way? And the last question, which of both columns should I save as profile? Thanks a lot.
-
Ok, tested and it works fine! Thanks evereybody for the help!
-
Antonie, we should put a salary on you! This afternoon I will test it and I will tell you- Lots of thank!
-
Hi, that isn,t what I looking for... I need two events at the same time, no chains or sequences. It should be possible with script editor, I hope.
-
Hello, I would like that, by pressing a button on the Hottas, two actions were executed simultaneously. In the case of the F5, the rudder and the nose wheel... From the TargetUI I think it is not possible, but ¿is it possible from the scrip editor? Thanks!
-
Hello, when I pass 90º in the pitch rotation, the Yaw rotation (left / right rotation) is reversed .... I have tried several profiles and it always happens, is that normal? Thank you!
-
I have numbers between 80 and 100, a few times higher, next to 120... the rate can be changed in windos or I should buy another mouse?