dok_rp Posted May 14, 2014 Posted May 14, 2014 (edited) Hello guys, I was creating a REXEC action and it worked ok. Now, however, I would like to create an action in the Coolie Hat UP with REXEC which was shifted and unshifted. For example, CSU UP would repeat L_SHIFT+F4 and CSU UP (Shifted) would repeat L-SHIFT+F3. Is that possible? Thanks for any help!!! ============================================================== EDIT: I tried using the "IO" command after the "mapkey" function, but that leads to a syntax error. This is the code I am using: //Repeat MapKey(&Throttle,CSU,REXEC(01, 100, "ActKey(KEYON+PULSE+L_SHIFT+F5);")); MapKey(&Throttle,CSD,REXEC(02, 100, "ActKey(KEYON+PULSE+L_SHIFT+F3);")); Would there be a place where I could add the "IO" command, in order to make on repeating action "shifted" and "unshifted"? Edited May 15, 2014 by dok_rp
dok_rp Posted May 19, 2014 Author Posted May 19, 2014 I got an answer from the user morphine at the BMS forums. Just in case someday someone might want to do the same thing. This is a working REXEC repeating function that works both in the shifted and unshifted states. Hope someone else might also find it useful: MapKeyIO(&Throttle,CSU, REXEC(01, 100, "ActKey(KEYON+PULSE+L_SHIFT+F5);"), REXEC(02, 100, "ActKey(KEYON+PULSE+L_SHIFT+F3);")); Control+F3 will be unshifted and Control+F5 will be shifted. :smartass:
Recommended Posts