Weegie Posted August 21, 2020 Posted August 21, 2020 Is there an easy way to do this? I've been trawling some threads but the usual way is to set the intensity to "0" When that's implemented the LEDs don't turn on either It's possible to turn them off with the GUI but I wondered if anybody could assist with a script that would kill the backlighting but still keep the LEDs available to be turned on & off like the GUI can
shu77 Posted August 24, 2020 Posted August 24, 2020 (edited) On the Warthog throttle or the MFDs? on the warthog LED0 is the back lights, you can turn that off then initialise the others separately. The code snippet below is my initialisation, except I make sure the Backlight is turned on and the others are turned off, then I tie turning them on the switch positions. ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT+LED0)); //set backlight on ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED1)); //set LED 1 OFF GEAR ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED2)); //set LED 2 OFF HOOK ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED3)); //set LED 3 OFF SPEEDBRAKE ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED4)); //set LED 4 OFF LIGHTS ActKey(PULSE+KEYON+LED(&Throttle, LED_ONOFF, LED_CURRENT-LED5)); //set LED 5 OFF PROBE Then I use a command like this to turn them on: MapKey(&Throttle, BSF, CHAIN(DX10,LED(&Throttle,LED_ONOFF,LED_CURRENT+LED3))); //LED 3 SPEEDBRAKE Edited August 24, 2020 by shu77 Hornet, Super Carrier, Warthog & (II), Mustang, Spitfire, Albatross, Sabre, Combined Arms, FC3, Nevada, Gulf, Normandy, Syria AH-6J i9 10900K @ 5.0GHz, Gigabyte Z490 Vision G, Cooler Master ML120L, Gigabyte RTX3080 OC Gaming 10Gb, 64GB RAM, Reverb G2 @ 2480x2428, TM Warthog, Saitek pedals & throttle, DIY collective, TrackIR4, Cougar MFDs, vx3276-2k Combat Wombat's Airfield & Enroute Maps and Planning Tools
Weegie Posted August 25, 2020 Author Posted August 25, 2020 Thank you so much Shu77, that's super That answers my question (I hope) I'll mess with it later today. Yeah it was the throttle backlight I was referring to as opposed to the MFDs (which I don't have.........YET)
Recommended Posts