37 void Print(std::ostream &stream)
const;
Input half of the byte stream interface.
Definition ibstream.h:36
One controller reading, as RawControllerMsg carries it.
Definition metcontrollerreading.h:24
void Print(std::ostream &stream) const
Write the reading to a diagnostic stream as the device label, the pad index, the button,...
int mButton
Definition metcontrollerreading.h:41
float mValue
Definition metcontrollerreading.h:42
int mPadIndex
Definition metcontrollerreading.h:40
int mTag
Definition metcontrollerreading.h:39
Output half of the byte stream interface.
Definition obstream.h:25
OBStream & operator<<(OBStream &stream, const MetControllerReading &reading)
Write a controller reading as four four-byte transfers in member order.
IBStream & operator>>(IBStream &stream, MetControllerReading &reading)
Read a controller reading back as four four-byte transfers in member order.