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:Input"

From PCGamingWiki, the wiki about fixing PC games
(added previous section validity check)
(removed SMW)
(One intermediate revision 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 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 support|{{{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 165: Line 165:
 
<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 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={{{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|}}}

Revision as of 07:36, 19 September 2021

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