Garry's Mod Wiki

Revision Difference

input.GetAnalogValue#529177

<function name="GetAnalogValue" parent="input" type="libraryfunc">⤶ <description>Returns the digital value of an analog stick on the current (set up via convars) controller.</description>⤶ <realm>Client and Menu</realm>⤶ <added>2021.01.27</added>⤶ <args>⤶ <arg name="axis" type="number">The analog axis to poll. See <page>Enums/ANALOG</page>.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">The digital value, in range of 0-65535. (verify)</ret>⤶ </rets>⤶ </function>