i flashed a ESP32 Device and thereafter i see the Airplayer-Hardware in the Home-Tab. But I can't find a dialog-box where to configure the "Named Hardware". Pushing the instrument to the Air Player does not trigger a dialog too.
My Codesample:
Code: Select all
local parkbrake_dref = "1-sim/parckBrake"
function brake_hw_callback(position)
print(position)
if position == 1 then
xpl_dataref_write(parkbrake_dref, "INT", 1)
else
xpl_dataref_write(parkbrake_dref, "INT", 0)
end
end
hw_switch_id = hw_switch_add("PARKINGBRAKE", 1, brake_hw_callback)
Best regards
Robert Krüger