The motivation for my build is really all about cost. I don't have access to laser, CNC and to have panels made by someone is not for free and of course it's fun to build your own stuff. I also don't have touch screens other than an Android tablet. I managed to connect my tablet as a wireless and even as USB monitor and ran Air Manager gauges on it but the performance is unacceptable.
The aspect of touching real knobs and switches is also very important. I use encoders with button, too. Like this I can do the freq. transfer and audio enable/disable. They are hooked up to a Leo Bodnar card. I then use a lua script run by FSUIPC to speed them up for faster adjustment. Basically I count the number of turns per second and repeat the command e.g. 5 times. Every second this will be reset so you can fine adjust.
If you're interested this is the far from perfect code:
Code: Select all
-- speed up encoder increments / decrements
local counter = 0
local repetition = 1
----------------------------------------------
function altEncoderMinus(keycode, shifts)
Execute(65893) -- AP_ALT_VAR_DEC
end
function altEncoderPlus(keycode, shifts)
Execute(65892) -- AP_ALT_VAR_INC
end
----------------------------------------------
function Execute(fsxControl)
for n = 1, repetition do -- repeat the command
ipc.control(fsxControl) -- send fsx action
end
counter = counter + 1
end
function resetCounter()
if counter > 5 then -- speed > 5 encoder turns per second
repetition = 5
counter = 5 -- limit the counter for better performance
else
repetition = 1
end
counter = counter - 4 -- fast mode will not end apruptly
if counter < 0 then counter = 0 end
end
event.timer(1000,"resetCounter")
-- get encoder events
event.button("A", 7,"altEncoderMinus") -- controller A button 7
event.button("A", 6,"altEncoderPlus")
I guess this could be implemented in Air Manager as well.