Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:VR support"

From PCGamingWiki, the wiki about fixing PC games
(1:1 with live version)
 
(migrated tracked motion controllers handling to #var set in updated input settings template)
Line 104: Line 104:
 
}}<!--
 
}}<!--
  
-->{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}}{{{tracked motion controllers|}}}{{{3rd space gaming vest|}}}{{{novint falcon|}}}{{{trackir|}}} |
+
-->{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}}{{#var:tracked motion controllers}}{{{3rd space gaming vest|}}}{{{novint falcon|}}}{{{trackir|}}} |
 
<tr class="template-infotable-secondhead">
 
<tr class="template-infotable-secondhead">
 
<th scope="col" style="width: 230px;">Devices</th>
 
<th scope="col" style="width: 230px;">Devices</th>
Line 112: Line 112:
  
 
<!-- tracked motion controllers -->
 
<!-- tracked motion controllers -->
{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}}{{{tracked motion controllers|}}} |
+
{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}}{{#var:tracked motion controllers}} |
 
<tr class="template-infotable-body">
 
<tr class="template-infotable-body">
 
<th scope="row">[[Glossary:Tracked motion controllers|Tracked motion controllers]]</th>
 
<th scope="row">[[Glossary:Tracked motion controllers|Tracked motion controllers]]</th>
<td>{{Tickcross|{{{tracked motion controllers|}}}|Tracked motion controllers|section=VR}}</td>
+
<td>{{Tickcross|{{#var:tracked motion controllers}}}}</td>
<td colspan="2">{{{tracked motion controllers notes|}}}</td>
+
<td colspan="2">{{#switch:{{#var:tracked motion controllers}}
 +
|true
 +
|hackable = ''See [[#Input settings|Input settings]] for details.''
 +
|#default =
 +
}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
  
 
<!-- controller support -->
 
<!-- controller support -->
{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}}{{{tracked motion controllers|}}} |
+
{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}}{{#var:tracked motion controllers}} |
 
<tr class="template-infotable-body">
 
<tr class="template-infotable-body">
 
<th scope="row">[[Glossary:Controller|<abbr title="Traditional controller">Controller</abbr>]]</th>
 
<th scope="row">[[Glossary:Controller|<abbr title="Traditional controller">Controller</abbr>]]</th>
<td>{{VR support/pad|{{#var:controller support level}}|{{{tracked motion controllers|}}}|{{{keyboard-mouse|}}}}}</td>
+
<td>{{VR support/pad|{{#var:controller support level}}|{{#var:tracked motion controllers}}|{{{keyboard-mouse|}}}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}

Revision as of 06:53, 6 April 2018

Documentation for the above template (sometimes hidden from view).