2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-09 07:10:28 +00:00
GlosSI-fork/GloSC/GloSC.ui
Peter Repukat 7947d6faac Enforce non desktop bindings:
done by mid function hooking a function in steamclient.dll
the function appears to be setting the appId of the new controller bindings

inject/hook right after the target launched
switch focus -> binding gets changed to shortcut bindings -> hook function grabs appid
hook function replaces desktop-config appid with the one grabbed everytime steam tries to active desktop-config
glosc_gamelauncher unloads dll when the target closes; unloading dll patches steamclient.dll back to original
2016-11-26 22:57:32 +01:00

259 lines
5.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>GloSCClass</class>
<widget class="QMainWindow" name="GloSCClass">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>711</width>
<height>386</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>711</width>
<height>386</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>711</width>
<height>386</height>
</size>
</property>
<property name="windowTitle">
<string>GloSC</string>
</property>
<property name="windowIcon">
<iconset resource="GloSC.qrc">
<normaloff>:/GloSC/Resources/GloSC_Icon.png</normaloff>:/GloSC/Resources/GloSC_Icon.png</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>281</width>
<height>371</height>
</rect>
</property>
<property name="title">
<string>Instances</string>
</property>
<widget class="QListWidget" name="lwInstances">
<property name="geometry">
<rect>
<x>10</x>
<y>21</y>
<width>261</width>
<height>341</height>
</rect>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>309</x>
<y>10</y>
<width>391</width>
<height>371</height>
</rect>
</property>
<property name="title">
<string>Config</string>
</property>
<widget class="QLineEdit" name="lePath">
<property name="geometry">
<rect>
<x>40</x>
<y>231</y>
<width>261</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pbUWP">
<property name="geometry">
<rect>
<x>344</x>
<y>230</y>
<width>41</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>UWP</string>
</property>
</widget>
<widget class="QPushButton" name="pbSearchPath">
<property name="geometry">
<rect>
<x>300</x>
<y>230</y>
<width>41</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>...</string>
</property>
</widget>
<widget class="QCheckBox" name="cbOverlay">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>371</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Enable overlay</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="cbControllers">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>371</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Enable virtual controllers</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="cbLaunchGame">
<property name="geometry">
<rect>
<x>10</x>
<y>210</y>
<width>371</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Launch game</string>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>231</y>
<width>31</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Path: </string>
</property>
</widget>
<widget class="QPushButton" name="pbSave">
<property name="geometry">
<rect>
<x>10</x>
<y>330</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Save / Create</string>
</property>
</widget>
<widget class="QPushButton" name="pbAddToSteam">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>270</x>
<y>330</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Add to Steam</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>10</x>
<y>33</y>
<width>47</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Name: </string>
</property>
</widget>
<widget class="QLineEdit" name="leName">
<property name="geometry">
<rect>
<x>50</x>
<y>30</y>
<width>331</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pbDelete">
<property name="geometry">
<rect>
<x>170</x>
<y>330</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Delete</string>
</property>
</widget>
<widget class="QCheckBox" name="cbCloseWhenDone">
<property name="geometry">
<rect>
<x>10</x>
<y>260</y>
<width>371</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>Close shortcut when launched Application closes
(Disable for Uplay-games!)</string>
</property>
</widget>
</widget>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="GloSC.qrc"/>
</resources>
<connections/>
</ui>