|
|
@ -4342,6 +4342,16 @@ return { |
|
|
|
{type = "const char *", name = "mappings"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "SetGamepadVibration", |
|
|
|
description = "Set gamepad vibration for both motors", |
|
|
|
returnType = "void", |
|
|
|
params = { |
|
|
|
{type = "int", name = "gamepad"}, |
|
|
|
{type = "float", name = "leftMotor"}, |
|
|
|
{type = "float", name = "rightMotor"} |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
name = "IsMouseButtonPressed", |
|
|
|
description = "Check if a mouse button has been pressed once", |
|
|
|