ControllerInterface/Wiimote: Add "IR Distance" input providing a calculated distance from sensor bar in meters.

This commit is contained in:
Jordan Woyak
2020-09-22 17:49:15 -05:00
parent 761f7798c9
commit f9280d0f66
2 changed files with 26 additions and 11 deletions

View File

@ -135,6 +135,8 @@ private:
// Average of visible IR "objects".
Common::Vec2 center_position = {};
float distance = 0;
bool is_hidden = true;
};