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

Difference between revisions of "Development:Input"

From PCGamingWiki, the wiki about fixing PC games
(added previous section validity check)
(prompts vardefine for test)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#widget:Advertisement-1}}<span id="Input settings"></span>{{#ifeq:{{#var:section}}|Video|{{#vardefine:section|Input}}|[[Category:Incorrect section order]]}}{{#vardefine:Input|present}}{{#if:{{#var:VR}}|{{#vardefine:show tracked|true}}|{{#vardefine:show tracked|unknown}}}}{{#switch: {{{tracked motion controllers|}}}
+
<includeonly>{{#widget:Advertisement-1}}<span id="Input settings"></span>{{#ifeq:{{#var:section}}|Video|{{#vardefine:section|Input}}|[[Category:Invalid section order]]}}{{#vardefine:Input|present}}{{#if:{{#var:VR}}|{{#vardefine:show tracked|true}}|{{#vardefine:show tracked|unknown}}}}{{#switch: {{{tracked motion controllers|}}}
 
|true
 
|true
 
|limited
 
|limited
Line 13: Line 13:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Remapping|Remapping]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Remapping|Remapping]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{key remap}}}|Key remapping|{{{key remap notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{key remap}}}||{{{key remap notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if: {{{key remap notes|}}} | {{{key remap notes|}}} | {{#ifeq: {{lc:{{{key remap|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use the [https://www.dosbox.com/wiki/Mapper DOSBox Mapper] (see the [[Glossary:Remapping|glossary page]] for other workarounds).'' | ''See the [[Glossary:Remapping|glossary page]] for potential workarounds.'' }}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if: {{{key remap notes|}}} | {{{key remap notes|}}} | {{#ifeq: {{lc:{{{key remap|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use the [https://www.dosbox.com/wiki/Mapper DOSBox Mapper] (see the [[Glossary:Remapping|glossary page]] for other workarounds).'' | ''See the [[Glossary:Remapping|glossary page]] for potential workarounds.'' }}}}}}</td>
 
</tr>
 
</tr>
Line 20: Line 20:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Mouse acceleration|Mouse acceleration]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Mouse acceleration|Mouse acceleration]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-a-na|{{{acceleration option|}}}|Mouse acceleration|{{{acceleration option notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-a-na|{{{acceleration option|}}}||{{{acceleration option notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{acceleration option notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{acceleration option notes|}}}</td>
 
</tr>
 
</tr>
Line 27: Line 27:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Mouse#Sensitivity|Mouse sensitivity]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Mouse#Sensitivity|Mouse sensitivity]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-na|{{{mouse sensitivity|}}}|Mouse sensitivity|{{{mouse sensitivity notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-na|{{{mouse sensitivity|}}}||{{{mouse sensitivity notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if: {{{mouse sensitivity notes|}}} | {{{mouse sensitivity notes|}}} | {{#ifeq: {{lc:{{{mouse sensitivity|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] set in the [https://www.dosbox.com/wiki/Dosbox.conf#.5Bsdl.5D DOSBox configuration file].''}}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if: {{{mouse sensitivity notes|}}} | {{{mouse sensitivity notes|}}} | {{#ifeq: {{lc:{{{mouse sensitivity|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] set in the [https://www.dosbox.com/wiki/Dosbox.conf#.5Bsdl.5D DOSBox configuration file].''}}}}}}</td>
 
</tr>
 
</tr>
Line 34: Line 34:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Mouse|Mouse input in menus]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Mouse|Mouse input in menus]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{mouse menu}}}|Mouse input in menus|{{{mouse menu notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{mouse menu}}}||{{{mouse menu notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{mouse menu notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{mouse menu notes|}}}</td>
 
</tr>
 
</tr>
Line 41: Line 41:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Invert Y-axis|Mouse Y-axis inversion]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Invert Y-axis|Mouse Y-axis inversion]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-na|{{{invert mouse y-axis|}}}|Mouse Y-axis inversion|{{{invert mouse y-axis notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-na|{{{invert mouse y-axis|}}}||{{{invert mouse y-axis notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{invert mouse y-axis notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{invert mouse y-axis notes|}}}</td>
 
</tr>
 
</tr>
Line 49: Line 49:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Touchscreen|Touchscreen optimised]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Touchscreen|Touchscreen optimised]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{touchscreen|}}}|Touchscreen optimised|{{{touchscreen notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{touchscreen|}}}||{{{touchscreen notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{touchscreen notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{touchscreen notes|}}}</td>
 
</tr>
 
</tr>
Line 65: Line 65:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Controller support]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Controller support]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{controller support}}}|Controller support|{{{controller support notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{controller support}}}||{{{controller support notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if:{{{controller support notes|}}}|{{{controller support notes|}}}|{{#ifeq: {{lc:{{{controller support|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use the [https://www.dosbox.com/wiki/Mapper DOSBox Mapper] (see the [[Glossary:Controller|glossary page]] for other workarounds).'' | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if:{{{controller support notes|}}}|{{{controller support notes|}}}|{{#ifeq: {{lc:{{{controller support|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use the [https://www.dosbox.com/wiki/Mapper DOSBox Mapper] (see the [[Glossary:Controller|glossary page]] for other workarounds).'' | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}}}</td>
 
</tr>
 
</tr>
Line 74: Line 74:
 
}}
 
}}
 
<!-- THESE FIELDS WILL ONLY APPEAR IF CONTROLLER SUPPORT IS NOT FALSE OR UNKNOWN -->
 
<!-- THESE FIELDS WILL ONLY APPEAR IF CONTROLLER SUPPORT IS NOT FALSE OR UNKNOWN -->
{{#ifeq: {{lc:{{{controller support|}}}}} | false |</table>[[Controller support level::false| ]]{{#vardefine:controller support level|false}}|
+
{{#ifeq: {{lc:{{{controller support|}}}}} | false |</table>{{#vardefine:controller support level|false}}|
{{#ifeq: {{lc:{{{controller support|}}}}} | unknown |</table>[[Controller support level::unknown| ]]{{#vardefine:controller support level|unknown}}|
+
{{#ifeq: {{lc:{{{controller support|}}}}} | unknown |</table>{{#vardefine:controller support level|unknown}}|
  
 
<!-- Full controller support -->
 
<!-- Full controller support -->
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|<abbr title="All menus can be navigated with a controller. Supports Steam's Big Picture mode.">Full controller support</abbr>]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|<abbr title="All menus can be navigated with a controller. Supports Steam's Big Picture mode.">Full controller support</abbr>]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{full controller|}}}|Full controller support|{{{full controller notes|}}}}}{{#ifeq: {{lc:{{{controller support|}}}}} | true | {{#ifeq: {{{full controller|}}} | true | [[Controller support level::full| ]]{{#vardefine:controller support level|full}} | [[Controller support level::partial| ]]{{#vardefine:controller support level|partial}} }} | {{#ifeq: {{{controller support|}}} | limited | [[Controller support level::partial| ]]{{#vardefine:controller support level|partial}}|[[Controller support level::{{lc:{{{controller support|}}}}}| ]]{{#vardefine:controller support level|{{lc:{{{controller support|}}}}}}}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{full controller|}}}||{{{full controller notes|}}}}}{{#ifeq: {{lc:{{{controller support|}}}}} | true | {{#ifeq: {{{full controller|}}} | true | {{#vardefine:controller support level|full}} | {{#vardefine:controller support level|partial}} }} | {{#ifeq: {{{controller support|}}} | limited | {{#vardefine:controller support level|partial}}|{{#vardefine:controller support level|{{lc:{{{controller support|}}}}}}}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{full controller notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{full controller notes|}}}</td>
 
</tr>
 
</tr>
Line 87: Line 87:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Remapping|Controller remapping]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Remapping|Controller remapping]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{controller remap|}}}|Controller remapping|{{{controller remap notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{controller remap|}}}||{{{controller remap notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if: {{{controller remap notes|}}} | {{{controller remap notes|}}} | {{#ifeq: {{lc:{{{controller remap|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use the [https://www.dosbox.com/wiki/Mapper DOSBox Mapper] (see the [[Glossary:Remapping|glossary page]] for other workarounds).'' | ''See the [[Glossary:Remapping|glossary page]] for potential workarounds.'' }}}}}}</td>
 
<td class="table-settings-input-body-notes">{{#if: {{{controller remap notes|}}} | {{{controller remap notes|}}} | {{#ifeq: {{lc:{{{controller remap|}}}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use the [https://www.dosbox.com/wiki/Mapper DOSBox Mapper] (see the [[Glossary:Remapping|glossary page]] for other workarounds).'' | ''See the [[Glossary:Remapping|glossary page]] for potential workarounds.'' }}}}}}</td>
 
</tr>
 
</tr>
Line 94: Line 94:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Controller sensitivity]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Controller sensitivity]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-na|{{{controller sensitivity|}}}|Controller sensitivity|{{{controller sensitivity notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-na|{{{controller sensitivity|}}}||{{{controller sensitivity notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{controller sensitivity notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{controller sensitivity notes|}}}</td>
 
</tr>
 
</tr>
Line 102: Line 102:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Invert Y-axis|Controller Y-axis inversion]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Invert Y-axis|Controller Y-axis inversion]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-a-na|{{{invert controller y-axis|}}}|Controller Y-axis inversion|{{{invert controller y-axis notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-a-na|{{{invert controller y-axis|}}}||{{{invert controller y-axis notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{invert controller y-axis notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{invert controller y-axis notes|}}}</td>
 
</tr>
 
</tr>
Line 124: Line 124:
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#ffffff;">
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#ffffff;">
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Controller|XInput-compatible controllers]]</th>
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Controller|XInput-compatible controllers]]</th>
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{xinput controllers|}}}|XInput controller support|{{{xinput controllers notes|}}}}}</td>
+
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{xinput controllers|}}}||{{{xinput controllers notes|}}}}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#if: {{{xinput controllers notes|}}} | {{{xinput controllers notes|}}} | {{#ifeq: {{lc:{{{xinput controllers|}}}}} | false | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#if: {{{xinput controllers notes|}}} | {{{xinput controllers notes|}}} | {{#ifeq: {{lc:{{{xinput controllers|}}}}} | false | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}</td>
 
</tr>
 
</tr>
Line 131: Line 131:
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#f5f5f5;">
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#f5f5f5;">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Xbox button prompts]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Xbox button prompts]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{xbox prompts|}}}|Xbox prompts|{{{xbox prompts notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{xbox prompts|}}}||{{{xbox prompts notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{xbox prompts notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{xbox prompts notes|}}}</td>
 
</tr>
 
</tr>
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#ffffff;">
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#ffffff;">
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:Xbox One Controller|{{abbr|Impulse Trigger vibration|Xbox One controllers only}}]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:Xbox One Controller|{{abbr|Impulse Trigger vibration|Xbox One controllers only}}]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-a-nr|{{{impulse triggers|}}}|Xbox One Impulse Triggers|{{{impulse triggers notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-a-nr|{{{impulse triggers|}}}||{{{impulse triggers notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{impulse triggers notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{impulse triggers notes|}}}</td>
 
</tr>
 
</tr>
Line 147: Line 147:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Controller:DualShock 4|DualShock 4 controllers]]</th>
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Controller:DualShock 4|DualShock 4 controllers]]</th>
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{dualshock 4|}}}|DualShock 4 controller support|{{{dualshock 4 notes|}}}}}</td>
+
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{dualshock 4|}}}||{{{dualshock 4 notes|}}}}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#if: {{{dualshock 4 notes|}}} | {{{dualshock 4 notes|}}} | {{#ifeq: {{lc:{{{dualshock 4|}}}}} | false | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#if: {{{dualshock 4 notes|}}} | {{{dualshock 4 notes|}}} | {{#ifeq: {{lc:{{{dualshock 4|}}}}} | false | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}</td>
 
</tr>
 
</tr>
Line 154: Line 154:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:DualShock 4|DualShock button prompts]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:DualShock 4|DualShock button prompts]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{dualshock prompts|}}}|DualShock prompts|{{{dualshock prompts notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{dualshock prompts|}}}||{{{dualshock prompts notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{dualshock prompts notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{dualshock prompts notes|}}}</td>
 
</tr>
 
</tr>
Line 160: Line 160:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:DualShock 4|Light bar support]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:DualShock 4|Light bar support]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-a-nr|{{{light bar support|}}}|DualShock 4 light bar support|{{{light bar support notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-a-nr|{{{light bar support|}}}||{{{light bar support notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{light bar support notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{light bar support notes|}}}</td>
 
</tr>
 
</tr>
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">Connection modes</th>
 
<th scope="row" class="table-settings-input-body-parameter">Connection modes</th>
<td colspan="2" class="table-settings-input-body-dualshock-modes">{{{dualshock 4 modes|}}}{{#if:{{{dualshock 4 modes notes|}}}|<br/>{{{dualshock 4 modes notes|}}}}}{{#ifeq:{{{dualshock 4 modes|}}}|unknown||{{#arraymap:{{{dualshock 4 modes|}}}|,|var|[[DualShock 4 connection modes::var| ]]|&#32;}}}}</td>
+
<td colspan="2" class="table-settings-input-body-dualshock-modes">{{{dualshock 4 modes|}}}{{#if:{{{dualshock 4 modes notes|}}}|<br/>{{{dualshock 4 modes notes|}}}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 177: Line 177:
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#ffffff;">
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#ffffff;">
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Tracked motion controllers|Tracked motion controllers]]</th>
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Tracked motion controllers|Tracked motion controllers]]</th>
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{tracked motion controllers|}}}|Tracked motion controllers|{{{tracked motion controllers notes|}}}}}{{#vardefine:tracked motion controllers|{{{tracked motion controllers|}}}}}{{#vardefine:tracked motion controllers notes|{{{tracked motion controllers notes|}}}}}</td>
+
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{tracked motion controllers|}}}||{{{tracked motion controllers notes|}}}}}{{#vardefine:tracked motion controllers|{{{tracked motion controllers|}}}}}{{#vardefine:tracked motion controllers notes|{{{tracked motion controllers notes|}}}}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#var:tracked motion controllers notes|}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#var:tracked motion controllers notes|}}</td>
 
</tr>
 
</tr>
Line 184: Line 184:
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#f5f5f5;">
 
<tr class="template-infotable-body table-settings-input-body-row" style="background-color:#f5f5f5;">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Tracked motion controllers|Button/gesture prompts]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Tracked motion controllers|Button/gesture prompts]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{tracked motion prompts|}}}|Tracked motion controller prompts|{{{tracked motion prompts notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{tracked motion prompts|}}}||{{{tracked motion prompts notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{tracked motion prompts notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{tracked motion prompts notes|}}}</td>
 
</tr>
 
</tr>
Line 197: Line 197:
 
<tr class="template-infotable-body table-settings-input-body-row" {{#ifeq: {{#var:show tracked}} | true | |  style="background-color:#ffffff;" }}>
 
<tr class="template-infotable-body table-settings-input-body-row" {{#ifeq: {{#var:show tracked}} | true | |  style="background-color:#ffffff;" }}>
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Generic/other controllers|Controllers that do not fall into any other category}}]]</th>
 
<th scope="col" style="width: 230px;" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Generic/other controllers|Controllers that do not fall into any other category}}]]</th>
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{other controllers|}}}|Other controller support|{{{other controllers notes|}}}}}</td>
+
<td scope="col" style="width: 50px;" class="table-settings-input-body-rating">{{Tickcross-nr|{{{other controllers|}}}||{{{other controllers notes|}}}}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#if: {{{other controllers notes|}}} | {{{other controllers notes|}}} | {{#ifeq: {{lc:{{{other controllers|}}}}} | false | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}</td>
 
<td scope="col" style="width: 540px;" class="table-settings-input-body-notes">{{#if: {{{other controllers notes|}}} | {{{other controllers notes|}}} | {{#ifeq: {{lc:{{{other controllers|}}}}} | false | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}</td>
 
</tr>
 
</tr>
Line 241: Line 241:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Controller hotplugging]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|Controller hotplugging]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{controller hotplug|}}}|Controller hotplugging|{{{controller hotplug notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{controller hotplug|}}}||{{{controller hotplug notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{controller hotplug notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{controller hotplug notes|}}}</td>
 
</tr>
 
</tr>
Line 247: Line 247:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Haptic feedback|Commonly referred to as controller vibration, force feedback, rumble, or dualshock.}}]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Haptic feedback|Commonly referred to as controller vibration, force feedback, rumble, or dualshock.}}]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-a|{{{haptic feedback|}}}|Controller haptic feedback|{{{haptic feedback notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-a|{{{haptic feedback|}}}||{{{haptic feedback notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{haptic feedback notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{haptic feedback notes|}}}</td>
 
</tr>
 
</tr>
Line 253: Line 253:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Simultaneous controller+KB/M|Both controller and keyboard/mouse inputs can be used at the same time}}]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Glossary:Controller|{{abbr|Simultaneous controller+KB/M|Both controller and keyboard/mouse inputs can be used at the same time}}]]</th>
<td class="table-settings-input-body-rating">{{Tickcross|{{{simultaneous input|}}}|Simultaneous input|{{{simultaneous input notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross|{{{simultaneous input|}}}||{{{simultaneous input notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{simultaneous input notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{simultaneous input notes|}}}</td>
 
</tr>
 
</tr>
Line 269: Line 269:
 
         <tr class="template-infotable-body table-settings-input-body-row">
 
         <tr class="template-infotable-body table-settings-input-body-row">
 
             <th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Steam Input API|<abbr title="The game support the Steam Input API">Steam Input API support</abbr>]]</th>
 
             <th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Steam Input API|<abbr title="The game support the Steam Input API">Steam Input API support</abbr>]]</th>
             <td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam input api|}}}|Steam Input API support|{{{steam input api notes|}}}}}</td>
+
             <td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam input api|}}}||{{{steam input api notes|}}}}}</td>
 
             <td class="table-settings-input-body-notes">{{{steam input api notes|}}}</td>
 
             <td class="table-settings-input-body-notes">{{{steam input api notes|}}}</td>
 
         </tr>
 
         </tr>
Line 276: Line 276:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Supported games|<abbr title="Steam Input can hook game input">Hook input (legacy mode)</abbr>]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Supported games|<abbr title="Steam Input can hook game input">Hook input (legacy mode)</abbr>]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam hook input|}}}|Steam hook input|{{{steam hook input notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam hook input|}}}||{{{steam hook input notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam hook input notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam hook input notes|}}}</td>
 
</tr>
 
</tr>
Line 284: Line 284:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Supported games|Official controller preset(s)]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Supported games|Official controller preset(s)]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam input presets|}}}|Steam Input presets|{{{steam input presets notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam input presets|}}}||{{{steam input presets notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam input presets notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam input presets notes|}}}</td>
 
</tr>
 
</tr>
Line 290: Line 290:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:Steam Controller|Steam Controller button prompts]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Controller:Steam Controller|Steam Controller button prompts]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam controller prompts|}}}|Steam Controller prompts|{{{steam controller prompts notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-nr|{{{steam controller prompts|}}}||{{{steam controller prompts notes|}}}}}{{#vardefine:Steam Controller prompts|{{{steam controller prompts|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam controller prompts notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam controller prompts notes|}}}</td>
 
</tr>
 
</tr>
Line 299: Line 299:
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<tr class="template-infotable-body table-settings-input-body-row">
 
<th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Steam Input|<abbr title="Detect in-game cursor for automatic layout switching">Cursor detection</abbr>]]</th>
 
<th scope="row" class="table-settings-input-body-parameter">[[Store:Steam#Steam Input|<abbr title="Detect in-game cursor for automatic layout switching">Cursor detection</abbr>]]</th>
<td class="table-settings-input-body-rating">{{Tickcross-na-nr|{{{steam cursor detection|}}}|Steam Input mouse cursor detection|{{{steam cursor detection notes|}}}}}</td>
+
<td class="table-settings-input-body-rating">{{Tickcross-na-nr|{{{steam cursor detection|}}}||{{{steam cursor detection notes|}}}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam cursor detection notes|}}}</td>
 
<td class="table-settings-input-body-notes">{{{steam cursor detection notes|}}}</td>
 
</tr>
 
</tr>
Line 309: Line 309:
 
}}
 
}}
 
}}<!-- Hidden property
 
}}<!-- Hidden property
-->{{#ifeq:{{{light bar support|}}}|unknown||[[DualShock 4 light bar support::{{{light bar support|}}}| ]]}}<!--
 
 
-->{{#if:{{#var:screenshots}}|{{#vardefine:Input settings screenshots|true}}{{#vardefine:screenshots|}}}}<!--
 
-->{{#if:{{#var:screenshots}}|{{#vardefine:Input settings screenshots|true}}{{#vardefine:screenshots|}}}}<!--
 
--></div></includeonly><noinclude>{{#cargo_declare:
 
--></div></includeonly><noinclude>{{#cargo_declare:
_table=Input_settings
+
_table=Input
 
|Key_remapping=String
 
|Key_remapping=String
 
|Mouse_acceleration=String
 
|Mouse_acceleration=String
Line 345: Line 344:
 
|Steam_Input_mouse_cursor_detection=String
 
|Steam_Input_mouse_cursor_detection=String
 
}}</noinclude><includeonly>{{#if:{{#var:Game}}|{{#cargo_store:
 
}}</noinclude><includeonly>{{#if:{{#var:Game}}|{{#cargo_store:
_table=Input_settings
+
_table=Input
 
|Key_remapping={{{key remap|}}}
 
|Key_remapping={{{key remap|}}}
 
|Mouse_acceleration={{{acceleration option|}}}
 
|Mouse_acceleration={{{acceleration option|}}}
Line 368: Line 367:
 
|Tracked_motion_controller_prompts={{{tracked motion prompts|}}}
 
|Tracked_motion_controller_prompts={{{tracked motion prompts|}}}
 
|Other_controller_support={{{other controllers|}}}
 
|Other_controller_support={{{other controllers|}}}
|Other_button_prompts={{{other button prompts|}}}
+
|Other_button_prompts={{#if:{{{other button prompts|}}}|{{#if:{{{button prompts|}}}|{{{other button prompts|}}},{{{button prompts|}}}|{{{other button prompts|}}}}}|{{{button prompts|}}}}}
|Other_button_prompts={{{button prompts|}}}
 
 
|Controller_hotplugging={{{controller hotplug|}}}
 
|Controller_hotplugging={{{controller hotplug|}}}
 
|Controller_haptic_feedback={{{haptic feedback|}}}
 
|Controller_haptic_feedback={{{haptic feedback|}}}

Latest revision as of 03:27, 11 November 2021

Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).