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

Difference between revisions of "Template:Input"

From PCGamingWiki, the wiki about fixing PC games
(updated Cargo table name)
(removed Semantic MediaWiki property links (migrated to Cargo))
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:

Revision as of 07:37, 19 September 2021

This template defines the table "Input". View table.

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

This table is meant to contain all information relating to input settings and features. 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
  • key remap - Whether the keyboard and mouse buttons are rebindable.
  • acceleration option - Whether the game uses mouse acceleration/smooting. Clarify which in the notes.
  • mouse sensitivity - Whether the sensitivity of mouse movement can be adjusted. This only applies to games with some sort of camera control.
  • mouse menu - Whether the mouse can be used to navigate the menu.
  • invert mouse y-axis - Whether the mouse Y-axis can be inverted. This only applies to games with some sort of camera control.
  • touchscreen - Whether the game is optimized for touchscreens.
  • controller support - Whether the game supports controllers.
  • full controller - Whether the game supports using just the controller, aka "Big Picture".
  • controller remap - Whether the controller buttons are rebindable.
  • controller sensitivity - Whether the sensitivity of the controller's analog stick inputs can be adjusted. This only applies to games with some sort of camera control.
  • invert controller y-axis - Whether the controller Y-axis can be inverted. This only applies to games with some sort of camera control.
  • xinput controllers - Whether the game supports XInput controllers.
  • xbox prompts - Whether Xbox button prompts are available in-game.
  • impulse triggers - Whether the game supports the Xbox Wireless Controller Impulse Triggers.
  • playstation controllers - Whether the game supports DualShock 4 and/or DualSense controllers.
    • dualshock 4 - The deprecated argument for this information.
  • playstation controller models - What models and revisions of the DualShock 3, DualShock 4 or DualSense are supported (comma-separated).
  • playstation prompts - Whether DualShock and/or DualSense button prompts are available in-game.
    • dualshock prompts - The deprecated argument for this information.
  • light bar support - Whether the game supports the light bar.
  • dualsense adaptive trigger support - Whether the game supports the DualSense adaptive triggers.
  • dualsense haptics support - Whether the game supports DualSense haptic feedback.
  • playstation connection modes - What DualShock 4 and/or DualSense connection modes are supported by the game (comma-separated).
    • See {{Input/ps connections}} for acceptable values.
    • dualshock 4 modes - The deprecated argument for this information.
  • tracked motion controllers - Tracked motion controllers support.
  • tracked motion prompts - Whether the game supports Tracked motion controllers button/gesture prompts.
  • other controllers - Whether the game supports generic/other controllers.
  • other button prompts - Whether generic/other button prompts are available in-game (comma-separated).
  • controller hotplug - Whether the game supports controller hotplugging.
  • haptic feedback - Whether the game has haptic feedback.
  • digital movement supported - Whether the game is completely playable using digital movement controls (such as a D-pad, arcade joystick, or WASD keys), as opposed to analog.
  • simultaneous input - Whether supports using controller and keyboard/mouse inputs at the same time.
  • steam input api - Whether supports the Steam Input API.
  • steam hook input - Whether Steam manages to hook input using legacy mode (only when not using Steam Input API).
  • steam input presets - Whether the game supports official Steam Input presets.
  • steam controller prompts - Whether Steam Controller button prompts are available in-game.
  • steam cursor detection - Whether Steam manages to differentiate between elements of the game where cursor is visible and where its hidden (only for Legacy mode).


Syntax
{{Input
|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    = 
|playstation controllers   = 
|playstation controller models = 
|playstation controllers notes = 
|playstation prompts       = 
|playstation prompts notes = 
|light bar support         = 
|light bar support notes   = 
|dualsense adaptive trigger support =
|dualsense adaptive trigger support notes =
|dualsense haptics support  =
|dualsense haptics support notes =
|playstation connection modes = 
|playstation connection 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     = 
|digital movement supported = 
|digital movement supported 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