Split axis and button actions into separate arrays