We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3161315 commit 6a6efc1Copy full SHA for 6a6efc1
lua/starfall/libs_sh/input.lua
@@ -396,5 +396,12 @@ function input_library.isGameUIVisible()
396
return gui.IsGameUIVisible()
397
end
398
399
+--- Returns the digital value of an analog stick on the current (set up via convars) controller.
400
+-- @name input_library.getAnalogValue
401
+-- @class function
402
+-- @client
403
+-- @param number axis The analog axis to poll. See https://wiki.facepunch.com/gmod/Enums/ANALOG
404
+-- @return number The digital value.
405
+input_library.getAnalogValue = input.GetAnalogValue
406
407
0 commit comments