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: | + | <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> | + | {{#ifeq: {{lc:{{{controller support|}}}}} | false |</table>{{#vardefine:controller support level|false}}| |
− | {{#ifeq: {{lc:{{{controller support|}}}}} | unknown |</table> | + | {{#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 | | + | <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|} | + | <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 | ||
− | |||
-->{{#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= | + | _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= | + | _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|}}} |
− | |||
|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).
Visit Development:Input/Documentation to edit this text. (How does this work?)