Implemented software video decoding and special key combos
This commit is contained in:
parent
02f4f193a9
commit
826fe4cd03
5 changed files with 324 additions and 23 deletions
|
|
@ -66,8 +66,16 @@ GridView {
|
|||
anchors.fill: parent
|
||||
onClicked: {
|
||||
// TODO: Check if a different game is running
|
||||
var session = appModel.createSessionForApp(index);
|
||||
session.exec();
|
||||
var session = appModel.createSessionForApp(index)
|
||||
|
||||
// Don't poll while the stream is running
|
||||
ComputerManager.stopPollingAsync()
|
||||
|
||||
// Run the streaming session to completion
|
||||
session.exec()
|
||||
|
||||
// Start polling again
|
||||
ComputerManager.startPolling()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue