github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/common/message_button_change.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package common 4 5 // Report button state change. 6 type MessageButtonChange struct { 7 // Timestamp (time since system boot). 8 TimeBootMs uint32 9 // Time of last change of button state. 10 LastChangeMs uint32 11 // Bitmap for state of buttons. 12 State uint8 13 } 14 15 // GetID implements the message.Message interface. 16 func (*MessageButtonChange) GetID() uint32 { 17 return 257 18 }