Show raw api
{
"functions": [
{
"name": "smallVibrate",
"desc": "Provides a small vibration.",
"params": [
{
"name": "userInputType",
"desc": "",
"lua_type": "UserInputType"
},
{
"name": "length",
"desc": "",
"lua_type": "number"
},
{
"name": "amplitude",
"desc": "",
"lua_type": "number"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 17,
"path": "src/hapticfeedbackutils/src/Client/HapticFeedbackUtils.lua"
}
},
{
"name": "setSmallVibration",
"desc": "Sets the small vibrators on the gamepad",
"params": [
{
"name": "userInputType",
"desc": "",
"lua_type": "UserInputType"
},
{
"name": "amplitude",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 34,
"path": "src/hapticfeedbackutils/src/Client/HapticFeedbackUtils.lua"
}
},
{
"name": "setLargeVibration",
"desc": "Sets the large vibrators on the gamepad",
"params": [
{
"name": "userInputType",
"desc": "",
"lua_type": "UserInputType"
},
{
"name": "amplitude",
"desc": "",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 46,
"path": "src/hapticfeedbackutils/src/Client/HapticFeedbackUtils.lua"
}
},
{
"name": "setVibrationMotor",
"desc": "Sets the small vibrators on the gamepad",
"params": [
{
"name": "userInputType",
"desc": "",
"lua_type": "UserInputType"
},
{
"name": "vibrationMotor",
"desc": "",
"lua_type": "VibrationMotor"
},
{
"name": "amplitude",
"desc": "",
"lua_type": "number"
},
{
"name": "...",
"desc": "vibrationValues",
"lua_type": "number"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 60,
"path": "src/hapticfeedbackutils/src/Client/HapticFeedbackUtils.lua"
}
}
],
"properties": [],
"types": [],
"name": "HapticFeedbackUtils",
"desc": "Utility functions involving haptic feedback on gamepads.",
"source": {
"line": 5,
"path": "src/hapticfeedbackutils/src/Client/HapticFeedbackUtils.lua"
}
}