ボタン入力

buttonにはButtonFalgControllerまたはButtonFlagDroneのフラグが組み合わされた値が入ります。

class Button(ISerializable):

    def __init__(self):
        self.button     = 0
        self.event      = ButtonEvent.None_
変数 形式 大きさ 範囲 説明
button UInt16 2 Byte - ボタン入力
event ButtonEvent 1 Byte - ボタンイベント