This moves the unordered_map used to store connected Wiimotes IDs to WiimoteReal, and makes the ID insert/erase logic common so we don't have to duplicate this code in scanner backends.
This moves the unordered_map used to store connected Wiimotes IDs to WiimoteReal, and makes the ID insert/erase logic common so we don't have to duplicate this code in scanner backends.