public HostService( IHostVideo hostVideo, IHostSound hostSound, IHostKeyboard hostKeyboard, IHostMouse hostMouse, IHostJoystick hostJoystick) { m_video = hostVideo; m_sound = hostSound; m_keyboard = hostKeyboard; m_mouse = hostMouse; m_joystick = hostJoystick; m_timeSync = new TimeSync(); UpdateSyncSource(); }
public InputAggregator( IHostService host, IKeyboardDevice[] keyboards, IMouseDevice[] mouses, IJoystickDevice[] joysticks) { m_hostKeyboard = host.Keyboard; m_hostMouse = host.Mouse; m_hostJoystick = host.Joystick; m_keyboards = keyboards; m_mouses = mouses; m_joysticks = joysticks; Capture(); }