set_button_assignment(POV_LEFT, "sim/general/hat_switch_left") set_button_assignment(POV_RIGHT, "sim/general/hat_switch_right") set_button_assignment(POV_UP, "sim ...
The usual caveats about ordering and pairs apply, because we are just running some Lua code to produce our macro expansion. However, the engine does not come with the full power of Lua. Though it ...