HAND FIX: Fix robotpy yaml files

This commit is contained in:
PJ Reiniger
2025-11-07 19:58:22 -05:00
committed by Peter Johnson
parent d3da30d53a
commit cf711a125e
21 changed files with 323 additions and 47 deletions

View File

@@ -26,7 +26,6 @@ functions:
WPI_FreeString(&name);
return sname;
}
HAL_GetJoystickAxisType:
HAL_SetJoystickOutputs:
HAL_GetMatchTime:
HAL_GetOutputsEnabled:

View File

@@ -21,27 +21,24 @@ classes:
fmsAttached:
dsAttached:
control_reserved:
watchdogEnabled:
HAL_JoystickAxes:
attributes:
count:
axes:
raw:
available:
HAL_JoystickPOVs:
attributes:
count:
povs:
available:
HAL_JoystickButtons:
attributes:
buttons:
count:
available:
HAL_JoystickDescriptor:
attributes:
type:
name:
axisCount:
axisTypes:
buttonCount:
povCount:
isGamepad:
HAL_MatchInfo:
attributes:

View File

@@ -77,10 +77,6 @@ functions:
HALSIM_SetJoystickAxis:
HALSIM_SetJoystickPOV:
HALSIM_SetJoystickButtonsValue:
HALSIM_SetJoystickAxisCount:
HALSIM_SetJoystickPOVCount:
HALSIM_SetJoystickButtonCount:
HALSIM_GetJoystickCounts:
HALSIM_SetJoystickType:
HALSIM_SetJoystickName:
cpp_code: |
@@ -88,7 +84,6 @@ functions:
auto s = wpi::make_string(sv);
HALSIM_SetJoystickName(stick, &s);
}
HALSIM_SetJoystickAxisType:
HALSIM_SetGameSpecificMessage:
cpp_code: |
[](std::string_view sv) {
@@ -111,3 +106,7 @@ functions:
HALSIM_CancelDriverStationNewDataCallback:
HALSIM_NotifyDriverStationNewData:
HALSIM_SetJoystickIsGamepad:
HALSIM_SetJoystickAxesAvailable:
HALSIM_SetJoystickPOVsAvailable:
HALSIM_SetJoystickButtonsAvailable:
HALSIM_GetJoystickAvailables: