Finish touch input support

This commit is contained in:
Cameron Gutman
2018-09-30 01:03:26 -07:00
parent 4a452a2467
commit 9fb0bffd61
3 changed files with 52 additions and 39 deletions

View File

@@ -750,7 +750,9 @@ void Session::exec(int displayOriginX, int displayOriginY)
// Initialize the gamepad code with our preferences
StreamingPreferences prefs;
SdlInputHandler inputHandler(prefs, m_Computer);
SdlInputHandler inputHandler(prefs, m_Computer,
m_StreamConfig.width,
m_StreamConfig.height);
// The UI should have ensured the old game was already quit
// if we decide to stream a different game.