Garry's Mod Wiki

input.GetAnalogValue

number input.GetAnalogValue( number axis )

Just Added

This was just added in the latest version (2021.01.27). It might only be available on the Dev Branch right now.

Description

Returns the digital value of an analog stick on the current (set up via convars) controller.

Arguments

1 number axis
The analog axis to poll. See Enums/ANALOG.

Returns

1 number
The digital value, in range of 0-65535. (verify)

Page Links


Special Pages


Wikis

?

Render Time: 85ms

DB GetPage 45
Generate Html 4
SaveChanges (1) 28
Render Body 0
Render Sidebar 6