45 lines
1.4 KiB
Lua
45 lines
1.4 KiB
Lua
-- How to add Buttons:
|
|
-- https://siminnovations.com/wiki/index.php?title=Hw_button_add
|
|
-- hw_button_add(hw_id, pressed_callback, released_callback)
|
|
|
|
-- How to select the arduino:
|
|
-- https://siminnovations.com/wiki/index.php?title=Hardware_id_list
|
|
-- ARDUINO_MEGA2560_B_D0
|
|
|
|
-- How to add Rotary Encoders:
|
|
-- https://siminnovations.com/wiki/index.php?title=Rotary_encoder_connection_tutorial
|
|
-- https://siminnovations.com/wiki/index.php?title=Hw_dial_add
|
|
-- hw_dial_add(hw_id_a, hw_id_b, callback)
|
|
|
|
fs2020_event("H:AS430_COMSWAP_Push")
|
|
fs2020_event("H:AS430_NAVSWAP_Push")
|
|
|
|
fs2020_event("TOGGLE_GPS_DRIVES_NAV1")
|
|
fs2020_event("H:AS430_OBS_Push")
|
|
fs2020_event("H:AS430_MSG_Push")
|
|
fs2020_event("H:AS430_FPL_Push")
|
|
fs2020_event("H:AS430_PROC_Push")
|
|
|
|
fs2020_event("H:AS430_RNG_Dezoom")
|
|
fs2020_event("H:AS430_RNG_Zoom")
|
|
|
|
fs2020_event("H:AS430_DirectTo_Push")
|
|
fs2020_event("H:AS430_MENU_Push")
|
|
fs2020_event("H:AS430_CLR_Push_Long")
|
|
fs2020_event("H:AS430_CLR_Push")
|
|
fs2020_event("H:AS430_ENT_Push")
|
|
|
|
fs2020_event("H:AS430_LeftLargeKnob_Right")
|
|
fs2020_event("H:AS430_LeftLargeKnob_Left")
|
|
|
|
fs2020_event("H:AS430_LeftSmallKnob_Right")
|
|
fs2020_event("H:AS430_LeftSmallKnob_Left")
|
|
fs2020_event("H:AS430_LeftSmallKnob_Push")
|
|
|
|
fs2020_event("H:AS430_RightLargeKnob_Right")
|
|
fs2020_event("H:AS430_RightLargeKnob_Left")
|
|
|
|
fs2020_event("H:AS430_RightSmallKnob_Right")
|
|
fs2020_event("H:AS430_RightSmallKnob_Left")
|
|
fs2020_event("H:AS430_RightSmallKnob_Push")
|