mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Update raylib_api.* by CI
This commit is contained in:
@ -2300,7 +2300,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GamepadAxis",
|
"name": "GamepadAxis",
|
||||||
"description": "Gamepad axis",
|
"description": "Gamepad axes",
|
||||||
"values": [
|
"values": [
|
||||||
{
|
{
|
||||||
"name": "GAMEPAD_AXIS_LEFT_X",
|
"name": "GAMEPAD_AXIS_LEFT_X",
|
||||||
@ -5017,7 +5017,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetGamepadAxisCount",
|
"name": "GetGamepadAxisCount",
|
||||||
"description": "Get gamepad axis count for a gamepad",
|
"description": "Get axis count for a gamepad",
|
||||||
"returnType": "int",
|
"returnType": "int",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
@ -5028,7 +5028,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "GetGamepadAxisMovement",
|
"name": "GetGamepadAxisMovement",
|
||||||
"description": "Get axis movement value for a gamepad axis",
|
"description": "Get movement value for a gamepad axis",
|
||||||
"returnType": "float",
|
"returnType": "float",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2300,7 +2300,7 @@ return {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "GamepadAxis",
|
name = "GamepadAxis",
|
||||||
description = "Gamepad axis",
|
description = "Gamepad axes",
|
||||||
values = {
|
values = {
|
||||||
{
|
{
|
||||||
name = "GAMEPAD_AXIS_LEFT_X",
|
name = "GAMEPAD_AXIS_LEFT_X",
|
||||||
@ -4426,7 +4426,7 @@ return {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "GetGamepadAxisCount",
|
name = "GetGamepadAxisCount",
|
||||||
description = "Get gamepad axis count for a gamepad",
|
description = "Get axis count for a gamepad",
|
||||||
returnType = "int",
|
returnType = "int",
|
||||||
params = {
|
params = {
|
||||||
{type = "int", name = "gamepad"}
|
{type = "int", name = "gamepad"}
|
||||||
@ -4434,7 +4434,7 @@ return {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name = "GetGamepadAxisMovement",
|
name = "GetGamepadAxisMovement",
|
||||||
description = "Get axis movement value for a gamepad axis",
|
description = "Get movement value for a gamepad axis",
|
||||||
returnType = "float",
|
returnType = "float",
|
||||||
params = {
|
params = {
|
||||||
{type = "int", name = "gamepad"},
|
{type = "int", name = "gamepad"},
|
||||||
|
|||||||
@ -774,7 +774,7 @@ Enum 06: GamepadButton (18 values)
|
|||||||
Value[GAMEPAD_BUTTON_RIGHT_THUMB]: 17
|
Value[GAMEPAD_BUTTON_RIGHT_THUMB]: 17
|
||||||
Enum 07: GamepadAxis (6 values)
|
Enum 07: GamepadAxis (6 values)
|
||||||
Name: GamepadAxis
|
Name: GamepadAxis
|
||||||
Description: Gamepad axis
|
Description: Gamepad axes
|
||||||
Value[GAMEPAD_AXIS_LEFT_X]: 0
|
Value[GAMEPAD_AXIS_LEFT_X]: 0
|
||||||
Value[GAMEPAD_AXIS_LEFT_Y]: 1
|
Value[GAMEPAD_AXIS_LEFT_Y]: 1
|
||||||
Value[GAMEPAD_AXIS_RIGHT_X]: 2
|
Value[GAMEPAD_AXIS_RIGHT_X]: 2
|
||||||
@ -1943,12 +1943,12 @@ Function 176: GetGamepadButtonPressed() (0 input parameters)
|
|||||||
Function 177: GetGamepadAxisCount() (1 input parameters)
|
Function 177: GetGamepadAxisCount() (1 input parameters)
|
||||||
Name: GetGamepadAxisCount
|
Name: GetGamepadAxisCount
|
||||||
Return type: int
|
Return type: int
|
||||||
Description: Get gamepad axis count for a gamepad
|
Description: Get axis count for a gamepad
|
||||||
Param[1]: gamepad (type: int)
|
Param[1]: gamepad (type: int)
|
||||||
Function 178: GetGamepadAxisMovement() (2 input parameters)
|
Function 178: GetGamepadAxisMovement() (2 input parameters)
|
||||||
Name: GetGamepadAxisMovement
|
Name: GetGamepadAxisMovement
|
||||||
Return type: float
|
Return type: float
|
||||||
Description: Get axis movement value for a gamepad axis
|
Description: Get movement value for a gamepad axis
|
||||||
Param[1]: gamepad (type: int)
|
Param[1]: gamepad (type: int)
|
||||||
Param[2]: axis (type: int)
|
Param[2]: axis (type: int)
|
||||||
Function 179: SetGamepadMappings() (1 input parameters)
|
Function 179: SetGamepadMappings() (1 input parameters)
|
||||||
|
|||||||
@ -486,7 +486,7 @@
|
|||||||
<Value name="GAMEPAD_BUTTON_LEFT_THUMB" integer="16" desc="Gamepad joystick pressed button left" />
|
<Value name="GAMEPAD_BUTTON_LEFT_THUMB" integer="16" desc="Gamepad joystick pressed button left" />
|
||||||
<Value name="GAMEPAD_BUTTON_RIGHT_THUMB" integer="17" desc="Gamepad joystick pressed button right" />
|
<Value name="GAMEPAD_BUTTON_RIGHT_THUMB" integer="17" desc="Gamepad joystick pressed button right" />
|
||||||
</Enum>
|
</Enum>
|
||||||
<Enum name="GamepadAxis" valueCount="6" desc="Gamepad axis">
|
<Enum name="GamepadAxis" valueCount="6" desc="Gamepad axes">
|
||||||
<Value name="GAMEPAD_AXIS_LEFT_X" integer="0" desc="Gamepad left stick X axis" />
|
<Value name="GAMEPAD_AXIS_LEFT_X" integer="0" desc="Gamepad left stick X axis" />
|
||||||
<Value name="GAMEPAD_AXIS_LEFT_Y" integer="1" desc="Gamepad left stick Y axis" />
|
<Value name="GAMEPAD_AXIS_LEFT_Y" integer="1" desc="Gamepad left stick Y axis" />
|
||||||
<Value name="GAMEPAD_AXIS_RIGHT_X" integer="2" desc="Gamepad right stick X axis" />
|
<Value name="GAMEPAD_AXIS_RIGHT_X" integer="2" desc="Gamepad right stick X axis" />
|
||||||
@ -1216,10 +1216,10 @@
|
|||||||
</Function>
|
</Function>
|
||||||
<Function name="GetGamepadButtonPressed" retType="int" paramCount="0" desc="Get the last gamepad button pressed">
|
<Function name="GetGamepadButtonPressed" retType="int" paramCount="0" desc="Get the last gamepad button pressed">
|
||||||
</Function>
|
</Function>
|
||||||
<Function name="GetGamepadAxisCount" retType="int" paramCount="1" desc="Get gamepad axis count for a gamepad">
|
<Function name="GetGamepadAxisCount" retType="int" paramCount="1" desc="Get axis count for a gamepad">
|
||||||
<Param type="int" name="gamepad" desc="" />
|
<Param type="int" name="gamepad" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
<Function name="GetGamepadAxisMovement" retType="float" paramCount="2" desc="Get axis movement value for a gamepad axis">
|
<Function name="GetGamepadAxisMovement" retType="float" paramCount="2" desc="Get movement value for a gamepad axis">
|
||||||
<Param type="int" name="gamepad" desc="" />
|
<Param type="int" name="gamepad" desc="" />
|
||||||
<Param type="int" name="axis" desc="" />
|
<Param type="int" name="axis" desc="" />
|
||||||
</Function>
|
</Function>
|
||||||
|
|||||||
Reference in New Issue
Block a user