Difference between revisions of "Template:Input settings"

From PCGamingWiki, the wiki about fixing PC games
m
(fixed style/width issue)
 
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="container-pcgwikitable" style="box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25); width: 820px;"><table class="pcgwikitable template-infotable" id="table-settings-input" style="width: 820px; box-shadow: none;">
+
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-settings-input">
 
<tr class="template-infotable-head">
 
<tr class="template-infotable-head">
 
<th scope="col" style="width: 230px;">{{#switch:{{{touchscreen|}}}|true|hackable=Keyboard and mouse, touch|#Default=Keyboard and mouse}}</th>
 
<th scope="col" style="width: 230px;">{{#switch:{{{touchscreen|}}}|true|hackable=Keyboard and mouse, touch|#Default=Keyboard and mouse}}</th>
Line 119: Line 119:
 
{{#ifeq: {{{xinput controllers|}}}{{{dualshock 4|}}}{{{tracked motion controllers|}}}{{{other controllers|}}}|unknownunknownunknownunknown||
 
{{#ifeq: {{{xinput controllers|}}}{{{dualshock 4|}}}{{{tracked motion controllers|}}}{{{other controllers|}}}|unknownunknownunknownunknown||
 
{{#if: {{{xinput controllers|}}}{{{dualshock 4|}}}{{{tracked motion controllers|}}}{{{other controllers|}}}|
 
{{#if: {{{xinput controllers|}}}{{{dualshock 4|}}}{{{tracked motion controllers|}}}{{{other controllers|}}}|
<table class="mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">
+
<table class="mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px;">
 
<tr class="template-infotable-secondhead">
 
<tr class="template-infotable-secondhead">
 
<th scope="col" style="width: 230px;">Controller types</th>
 
<th scope="col" style="width: 230px;">Controller types</th>
<th scope="col" style="min-width: 50px; max-width: 120px;"></th>
+
<th scope="col" style="width: 50px;"></th>
<th scope="col" style="min-width: 470px;"></th>
+
<th scope="col" style="width: 540px;"></th>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
{{#if:{{#var:controller yes}}|
 
{{#if:{{#var:controller yes}}|
{{#ifeq:{{{xinput controllers|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{xinput controllers|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{xinput controllers|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{xinput controllers|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{xinput controllers|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{xinput controllers|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">}}}}}}
+
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px;">}}}}}}
 
<tr class="template-infotable-body" style="background-color:#ffffff;">
 
<tr class="template-infotable-body" style="background-color:#ffffff;">
 
<th scope="col" style="width: 230px;">[[Glossary:Controller|XInput-compatible controllers]]</th>
 
<th scope="col" style="width: 230px;">[[Glossary:Controller|XInput-compatible controllers]]</th>
Line 153: Line 153:
 
}}
 
}}
 
</table>
 
</table>
{{#ifeq:{{{dualshock 4|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{dualshock 4|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{dualshock 4|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{dualshock 4|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{dualshock 4|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{dualshock 4|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">}}}}}}
+
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px;">}}}}}}
 
<tr class="template-infotable-body">
 
<tr class="template-infotable-body">
 
<th scope="col" style="width: 230px;">[[Controller:DualShock 4|DualShock 4 controllers]]</th>
 
<th scope="col" style="width: 230px;">[[Controller:DualShock 4|DualShock 4 controllers]]</th>
Line 185: Line 185:
 
</table>
 
</table>
 
}}
 
}}
{{#ifeq:{{{tracked motion controllers|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{tracked motion controllers|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{tracked motion controllers|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{tracked motion controllers|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{tracked motion controllers|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{tracked motion controllers|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">}}}}}}
+
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px;">}}}}}}
 
<tr class="template-infotable-body" style="background-color:#ffffff;">
 
<tr class="template-infotable-body" style="background-color:#ffffff;">
 
<th scope="col" style="width: 230px;">[[Glossary:Tracked motion controllers|Tracked motion controllers]]</th>
 
<th scope="col" style="width: 230px;">[[Glossary:Tracked motion controllers|Tracked motion controllers]]</th>
Line 207: Line 207:
 
</table>
 
</table>
 
{{#if:{{#var:controller yes}}|
 
{{#if:{{#var:controller yes}}|
{{#ifeq:{{{other controllers|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{other controllers|}}}|no|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{other controllers|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{other controllers|}}}|false|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
{{#ifeq:{{{other controllers|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">|
+
{{#ifeq:{{{other controllers|}}}|unknown|<table class="pcgwikitable template-infotable" style="margin-top: -16px;">|
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">}}}}}}
+
<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px;">}}}}}}
 
<tr class="template-infotable-body">
 
<tr class="template-infotable-body">
 
<th scope="col" style="width: 230px;">[[Glossary:Controller|{{abbr|Generic/other controllers|Controllers that do not fall into any other category}}]]</th>
 
<th scope="col" style="width: 230px;">[[Glossary:Controller|{{abbr|Generic/other controllers|Controllers that do not fall into any other category}}]]</th>
 
<td scope="col" style="width: 50px;">{{tickcross|{{{other controllers|}}}|Other controller support|section=Input}}</td>
 
<td scope="col" style="width: 50px;">{{tickcross|{{{other controllers|}}}|Other controller support|section=Input}}</td>
<td scope="col" colspan=2 style="width: 540px;">{{#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;">{{#if: {{{other controllers notes|}}} | {{{other controllers notes|}}} | {{#ifeq: {{lc:{{{other controllers|}}}}} | false | ''See the [[Glossary:Controller|glossary page]] for potential workarounds.'' }}}}</td>
 
</tr>
 
</tr>
 
{{#ifeq:{{{other controllers|}}}|no||
 
{{#ifeq:{{{other controllers|}}}|no||
Line 221: Line 221:
 
<tr class="template-infotable-body">
 
<tr class="template-infotable-body">
 
<th scope="row">[[Glossary:Controller|Button prompts]]</th>
 
<th scope="row">[[Glossary:Controller|Button prompts]]</th>
<td colspan=2 style="width: 120px;">{{#arraymaptemplate:{{{other button prompts|{{{button prompts}}}}}}|Prompts|,|}}{{#ifeq:{{lc:{{{other button prompts|{{{button prompts}}}}}}}}|false|{{#vardefine:PCGWR Input known|{{#expr:{{#var:PCGWR Input known}}+1}}}}|{{#ifeq:{{lc:{{{other button prompts|{{{button prompts}}}}}}}}|no|{{#vardefine:PCGWR Input known|{{#expr:{{#var:PCGWR Input known}}+1}}}}|{{#ifeq:{{lc:{{{other button prompts|{{{button prompts}}}}}}}}|unknown||{{#vardefine:PCGWR Input|{{#expr:{{#var:PCGWR Input}}+1}}}}{{#vardefine:PCGWR Input known|{{#expr:{{#var:PCGWR Input known}}+1}}}}}}}}}}</td>
+
<td>{{#arraymaptemplate:{{{other button prompts|{{{button prompts}}}}}}|Prompts|,|}}{{#ifeq:{{lc:{{{other button prompts|{{{button prompts}}}}}}}}|false|{{#vardefine:PCGWR Input known|{{#expr:{{#var:PCGWR Input known}}+1}}}}|{{#ifeq:{{lc:{{{other button prompts|{{{button prompts}}}}}}}}|no|{{#vardefine:PCGWR Input known|{{#expr:{{#var:PCGWR Input known}}+1}}}}|{{#ifeq:{{lc:{{{other button prompts|{{{button prompts}}}}}}}}|unknown||{{#vardefine:PCGWR Input|{{#expr:{{#var:PCGWR Input}}+1}}}}{{#vardefine:PCGWR Input known|{{#expr:{{#var:PCGWR Input known}}+1}}}}}}}}}}</td>
 
<td>{{{other button prompts notes|{{{button prompts notes|}}}}}}</td>
 
<td>{{{other button prompts notes|{{{button prompts notes|}}}}}}</td>
 
</tr>
 
</tr>
Line 240: Line 240:
 
|hackable=yes
 
|hackable=yes
 
}}{{#var:controller yes}}|
 
}}{{#var:controller yes}}|
{{#if:{{#var:controller yes}}|<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" id="table-settings-input-additional" style="margin-top: -16px; width: 820px; box-shadow: none;">
+
{{#if:{{#var:controller yes}}|<table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" id="table-settings-input-additional" style="margin-top: -16px;">|<table class="pcgwikitable template-infotable" id="table-settings-input-additional" style="margin-top: -16px;">}}
<tr class="template-infotable-head">
 
<th scope="col" style="width: 230px;">Additional information</th>
 
<th scope="col" style="min-width: 50px; max-width: 120px;"></th>
 
<th scope="col" style="min-width: 470px;"></th>
 
|<table class="pcgwikitable template-infotable" id="table-settings-input-additional" style="margin-top: -16px; width: 820px; box-shadow: none;">
 
 
<tr class="template-infotable-head">
 
<tr class="template-infotable-head">
 
<th scope="col" style="width: 230px;">Additional information</th>
 
<th scope="col" style="width: 230px;">Additional information</th>
 
<th scope="col" style="width: 50px;"></th>
 
<th scope="col" style="width: 50px;"></th>
<th scope="col" style="width: 540px;"></th>}}
+
<th scope="col" style="width: 540px;"></th>
 
</tr>
 
</tr>
 
{{#if: {{#var:controller yes}} |
 
{{#if: {{#var:controller yes}} |
Line 285: Line 280:
 
--> {{#ifeq: {{{steam input api|}}} | ||<!--
 
--> {{#ifeq: {{{steam input api|}}} | ||<!--
 
--> {{#ifeq: {{{steam input api|}}} | unknown ||<!--
 
--> {{#ifeq: {{{steam input api|}}} | unknown ||<!--
--> <table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px; width: 820px; box-shadow: none;">
+
--> <table class="mw-collapsible mw-collapsed pcgwikitable template-infotable" style="margin-top: -16px;">
 
<tr class="template-infotable-head">
 
<tr class="template-infotable-head">
 
<th scope="col" style="width: 230px;">Steam Input</th>
 
<th scope="col" style="width: 230px;">Steam Input</th>

Latest revision as of 07:23, 20 April 2018

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

This settings table is meant to contain all information relating to input settings. If a setting is hackable or requires additional notes, add the information below the table in a header like so:

=== [[Controller support]] ===
Fixbox here
...

and make note of it in the table in the following fashion See [[#Controller support|Controller support]]. Any smaller notes can and should be included directly in the table.

Below is a more thorough explanation of each of the possible arguments. Each can be appended with  notes to fill in the information in the Notes column.

Arguments


Syntax
{{Input settings
|key remap                 = 
|key remap notes           = 
|acceleration option       = 
|acceleration option notes = 
|mouse sensitivity         = 
|mouse sensitivity notes   = 
|mouse menu                = 
|mouse menu notes          = 
|invert mouse y-axis       = 
|invert mouse y-axis notes = 
|touchscreen               = 
|touchscreen notes         = 
|controller support        = 
|controller support notes  = 
|full controller           = 
|full controller notes     = 
|controller remap          = 
|controller remap notes    = 
|controller sensitivity    = 
|controller sensitivity notes= 
|invert controller y-axis  = 
|invert controller y-axis notes= 
|xinput controllers        = 
|xinput controllers notes  = 
|xbox prompts              = 
|xbox prompts notes        = 
|impulse triggers          = 
|impulse triggers notes    = 
|dualshock 4               = 
|dualshock 4 notes         = 
|dualshock prompts         = 
|dualshock prompts notes   = 
|light bar support         = 
|light bar support notes   = 
|dualshock 4 modes         = 
|dualshock 4 modes notes   = 
|tracked motion controllers= 
|tracked motion controllers notes = 
|tracked motion prompts    = 
|tracked motion prompts notes = 
|other controllers         = 
|other controllers notes   = 
|other button prompts      = 
|other button prompts notes= 
|controller hotplug        = 
|controller hotplug notes  = 
|haptic feedback           = 
|haptic feedback notes     = 
|simultaneous input        = 
|simultaneous input notes  = 
|steam input api           = 
|steam input api notes     = 
|steam hook input          = 
|steam hook input notes    = 
|steam input presets       = 
|steam input presets notes = 
|steam controller prompts  = 
|steam controller prompts notes = 
|steam cursor detection    = 
|steam cursor detection notes = 
}}
See also