Difference between revisions of "Development:Input"

From PCGamingWiki, the wiki about fixing PC games
(added previous section validity check)
(1:1 with live)
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 312: Line 312:
 
-->{{#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 345:
 
|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 368:
 
|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:32, 19 September 2021

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