Difference between revisions of "Template:TESTMouse settings table"

From QWiki
(testing fixes to the calculation)
 
m (ffs)
 
(2 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
-->{{#if:{{{dpi|}}}|{{#if:{{{sensitivity|}}}|{{#if:{{{windows|}}}|{{!}}{{!}}'''{{#vardefineecho:effectivedpi|{{#expr:<!--
 
-->{{#if:{{{dpi|}}}|{{#if:{{{sensitivity|}}}|{{#if:{{{windows|}}}|{{!}}{{!}}'''{{#vardefineecho:effectivedpi|{{#expr:<!--
  
-->{{{dpi}}} * {{{sensitivity}}} * {{#ifeq:{{{rawinput|}}}|On|1|{{#switch:{{{windows|}}}
+
-->{{{dpi}}} * {{{sensitivity}}} * {{#ifeq:{{{rawinput|}}}|Off|0|{{#switch:{{{windows|}}}
 
   |1=0.0625
 
   |1=0.0625
 
   |2=0.125
 
   |2=0.125
Line 35: Line 35:
 
   |#default=1
 
   |#default=1
 
  }}
 
  }}
}}<!--
+
}}
 +
<!--
  
 
-->}}}}'''
 
-->}}}}'''

Latest revision as of 16:09, 26 January 2021