Many of us sim pilots love flying the great AB412 by X-Trident, and some probably noticed that there are no keybindings for an idle stop switch on the collective head. That kinda surprised me, given that the 412 collective head is very close to release now =) Thankfully, guys on X-Plane forums (including the 412 developer) were very kind to point me in the right direction, and I’ve been able to write a very simple script to fix that.
What it does, is it simply assigns PgUp and PgDown buttons to the idle switch. I will then be able to send these key presses from the Simchair firmware, in a similar way to the DCS Huey compat mode.
For the script to work you’ll need the FlyWithLua plugin, extract it to your XPlane11\Resources\plugins folder. After that, put the script to XPlane11\Resources\plugins\FlyWithLua\Scripts folder (remove the “please read the manual.lua” file). If you want to change keys for the switch, you have to find out their numbers with a sniffer. Put it to the same folder, reload all Lua files from the plugin options menu in X-Plane, and it will show you the numbers you can put to the script instead of PgUp and PgDown.
Cheers!