Template:Mouse settings: Difference between revisions
From TwogPedia
            No edit summary  | 
				No edit summary  | 
				||
| Line 119: | Line 119: | ||
--></table><!--  | --></table><!--  | ||
-->  | --><table class="wikitable" style="text-align:center; margin:0;" data-toggle-area-content="2">  | ||
</div>  | <tr><th colspan="13"><span  style="vertical-align:middle">{{#ifexist:Mouse Settings|[[Mouse Settings]]|Mouse Settings}} {{#ifeq:{{{ref|}}}|player|[[category:Player Submitted Settings]] <sup><i><b><small><small><abbr title="{{#var:id|{{PAGENAME}}}} has submitted their own settings to Liquipedia">Player Submitted</abbr></small></small></b></i></sup>|{{{ref|}}} }}</span>  | ||
<div style="float: right;"><span class="toggle-area-button btn btn-theme-light" style="padding: 3px 12px" data-toggle-area-btn="1">Simple</span></div></th></tr><!--  | |||
<noinclude>{{documentation}} [[Category:Hardware Templates]][[Category:Templates]]</noinclude>  | --><tr><!--  | ||
--><th>Mouse</th><!--  | |||
-->{{#if:{{#var:mpi|}}|<th><abbr title="Linear measurement of sensitivity">Curvature</abbr><!--  | |||
                    --><th><abbr title="Length of a full revolution in cm or inch">Circumference</abbr> }}<!--  | |||
-->{{#if:{{{dpi|}}}{{{polling|}}}|<th><abbr title="Counts per Inch and Polling Rate">Mouse Setup</abbr>}}<!--  | |||
-->{{#if:{{{sensitivity|}}}|<th><abbr title="Sensitivity slider in-game, a multiplier on m_yaw.">Sensitivity</abbr>}}<!--  | |||
-->{{#if:{{{yaw|}}}|<th><abbr title="m_yaw">Yaw</abbr>}}<!--  | |||
-->{{#if:{{{zoom|}}}|<th><abbr title="zoom_sensitivity_ratio. Instead of correctly scaling by focal lengths, Source engine naïvely downscales your sensitivity by the ratio of arbitrary 4:3 width angles between your zoom steps and hipfire of 90, then multiplies it by this value.">Zoom</abbr>}}<!--  | |||
-->{{#if:{{{inverted|}}}|<th><abbr title="Inverted mouse Y-axis (m_pitch)">Inv. mouse?</abbr>}}<!--  | |||
-->{{#ifeq:{{#var:accelparsed|}}|0||{{#if:{{{acceleration|}}}|<th><abbr title="m_customaccel_exponent">Accel.</abbr>}}}}<!--  | |||
-->{{#if:{{{rawinput|}}}|<th><abbr title="Raw Input. If enabled, game reads hardware inputs directly and Control Panel slider has no effect on overall sensitivity.">Raw.</abbr>}}<!--  | |||
-->{{#ifeq:{{#var:rbool|}}|0|{{#if:{{{windows|}}}|{{#if:{{{yaw|}}}|{{#vardefine:effectivecpi|{{#expr:({{{dpi}}}*{{#var:rfactor|}})}}}}}}<!--  | |||
--><th><abbr title="Control Panel slider, consult wiki article for actual multipliers">Pointer Speed</abbr>}}|}}<!--  | |||
-->{{#if:{{{pad-brand|}}} {{{pad|}}}|<th>Mousepad}}  | |||
</tr>  | |||
<tr><!--  | |||
--><td>{{#if:{{{brand|}}}{{{model|}}}|'''{{{brand|}}}<br>{{#if:{{{desc|}}}|<abbr title="{{{desc}}}">{{{model|}}}</abbr>|{{{model|}}} }}'''|''Unknown''}}</td><!--  | |||
-->{{#if:{{#var:mpi|}}     |<td>'''{{#var:mpi|}} <abbr title="Minute (of Arc) per Inch = (cpi*sens*m_yaw)*60">MPI</abbr>'''<br><!--  | |||
                                 -->''{{#var:degpermm|}} <abbr title="(cpi*sens*m_yaw)/25.4">deg/mm</abbr>''<!--  | |||
                         --><td>{{#var:inPerRev|}} <abbr title="360°/(cpi*sens*m_yaw)">in/rev</abbr><br><!--  | |||
                                   -->{{#var:cmPerRev|}} <abbr title="360°/(cpi*sens*m_yaw)*2.54">cm/rev</abbr><!--  | |||
-->}}<!--  | |||
-->{{#if:{{{dpi|}}}        |<td><!--  | |||
                              -->{{{dpi|}}} DPI<!--  | |||
                             -->{{#if:{{{polling|}}}|<br>@ <abbr title="Polling rate saturation at {{#expr:({{{polling}}}/{{{dpi}}})}}IPS"><!--  | |||
                                   -->{{{polling}}} Hz</abbr>}}<!--  | |||
-->}}<!--  | |||
-->{{#if:{{{sensitivity|}}}|<td><!--  | |||
   --><abbr title="{{{sensitivity}}}×{{#if:{{{yaw|0.022}}}|{{{yaw|0.022}}}|0.022}}°={{#expr:({{{sensitivity}}}*{{#if:{{{yaw|0.022}}}|{{{yaw|0.022}}}|0.022}})}}° increment"><!--  | |||
                                   -->{{{sensitivity}}}}}</abbr><!--  | |||
-->{{#if:{{{yaw|}}}        |<td>{{{yaw}}}°}}<!--  | |||
-->{{#if:{{{zoom|}}}       |<td><abbr title="arclength coefficient of {{#expr:({{{zoom}}}*40/90/(tan(40*pi/360)))}} at first AWP zoom"><!--  | |||
                                   -->{{{zoom}}}}}</abbr><!--  | |||
-->{{#if:{{{inverted|}}}   |<td>{{{inverted}}}}}<!--  | |||
-->{{#ifeq:{{#var:accelparsed|}}|0||<!--  | |||
        -->{{#if:{{{acceleration|}}}  | |||
                           |<td>{{{acceleration}}}<!--  | |||
        -->}}<!--  | |||
-->}}<!--  | |||
-->{{#if:{{{rawinput|}}}   |<td>{{{rawinput}}}<!--  | |||
-->{{#ifeq:{{#var:rbool|}}|0|<!--  | |||
        -->{{#if:{{{windows|}}}  | |||
                           |<td><!--  | |||
                              -->{{{windows}}}/11 (×''{{#var:winscalar|}}''{{#ifeq:{{#var:accelparsed|}}|W| EPP ''on''|}})<!--  | |||
        -->}}|<!--  | |||
-->}}<!--  | |||
-->}}<!--  | |||
-->{{#if:{{{pad-brand|}}} {{{pad|}}}  | |||
                           |<td style="padding:0 4px;"><!--  | |||
                              -->'''{{{pad-brand}}}<br><abbr title="{{{pad-desc|}}}">{{{pad-model|}}}</abbr>'''<!--  | |||
-->}}</tr>  | |||
<tr>  | |||
<th colspan="13" align="center" style=font-size:85%;padding:2px>{{#if:{{{date|}}}|''Last updated on {{{date}}} ({{#vardefine:mouse-daysago|{{#expr: ({{#time: U | {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}} }} - {{#time: U | {{{date}}}}}) / 86400 round 1 }}}}{{#switch:{{#var:mouse-daysago}}|0=today|1=yesterday|#default={{#var:mouse-daysago}} days ago}}).''|<span class="cinnabar-text">''No date of last update specified!''</span>}}  | |||
</table><!--  | |||
--></div><!--  | |||
SMW  | |||
--><noinclude>{{#ifeq:{{NAMESPACE}}||{{#set:  | |||
|has mouse settings=true  | |||
|has mouse={{{mouse|}}}  | |||
|has mouse brand={{{brand|}}}  | |||
|has mouse model={{{model|}}}  | |||
|has mouse description={{{desc|}}}  | |||
|has mousepad={{{pad|}}}  | |||
|has mousepad brand={{{pad-brand|}}}  | |||
|has mousepad model={{{pad-model|}}}  | |||
|has mousepad description={{{pad-desc|}}}  | |||
|has effective dpi={{#var:effectivedpi|N/A}}  | |||
|has sorted effective dpi={{#var:effectivedpi|0}}  | |||
|has mpi={{#var:mpi|N/A}}  | |||
|has sorted mpi={{#var:mpi|0}}  | |||
|has degpermm={{#var:degpermm|}}  | |||
|has sorted degpermm={{#var:degpermm|0}}  | |||
|has cm per rev={{#var:cmPerRev|}}  | |||
|has in per rev={{#var:inPerRev|}}  | |||
|has dpi={{{dpi|}}}  | |||
|has sensitivity={{{sensitivity|}}}  | |||
|has windows sensitivity={{{windows|}}}  | |||
|has zoom sensitivity={{{zoom|}}}  | |||
|has inverted mouse={{#if:{{{inverted|}}}|On|Off}}  | |||
|has yaw={{{yaw|}}}  | |||
|has acceleration={{{acceleration|}}}  | |||
|has raw input={{{rawinput|}}}  | |||
|has sorted raw input={{#var:rbool|}}  | |||
|has polling rate={{{polling|}}}  | |||
|has mouse update date={{{date|}}}  | |||
|has mouse reference={{#if:{{{ref|}}}|true}}  | |||
|has sorted id={{lc:{{#var:id|{{PAGENAME}}}}}}  | |||
}}}}</noinclude><!--  | |||
-->{{#if:{{{pad-brand|}}} {{{pad-model|}}}|{{#vardefine:pdc|1}}}}<!--  | |||
-->}}<noinclude>{{documentation}} [[Category:Hardware Templates]][[Category:Templates]]</noinclude>  | |||