resonance 1.0.1
Loading...
Searching...
No Matches
metcontrollerreading.h File Reference
#include <iostream>
Include dependency graph for metcontrollerreading.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MetControllerReading
 One controller reading, as RawControllerMsg carries it. More...

Functions

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.

Function Documentation

◆ operator<<()

OBStream & operator<< ( OBStream & stream,
const MetControllerReading & reading )

Write a controller reading as four four-byte transfers in member order.

Parameters
streamThe stream to write to.
readingThe reading.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00101060
Ghidra address:
PAL: 0x00101060

◆ operator>>()

IBStream & operator>> ( IBStream & stream,
MetControllerReading & reading )

Read a controller reading back as four four-byte transfers in member order.

The tag is read into a local first and stored after the other three fields.

Parameters
streamThe stream to read from.
readingThe reading to fill.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x00101120
Ghidra address:
PAL: 0x00101120