mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
HAND FIX: Fix robotpy yaml files
This commit is contained in:
committed by
Peter Johnson
parent
d3da30d53a
commit
cf711a125e
@@ -35,13 +35,8 @@ classes:
|
||||
SetJoystickButton:
|
||||
SetJoystickAxis:
|
||||
SetJoystickPOV:
|
||||
SetJoystickButtons:
|
||||
SetJoystickAxisCount:
|
||||
SetJoystickPOVCount:
|
||||
SetJoystickButtonCount:
|
||||
SetJoystickType:
|
||||
SetJoystickName:
|
||||
SetJoystickAxisType:
|
||||
SetGameSpecificMessage:
|
||||
SetEventName:
|
||||
SetMatchType:
|
||||
@@ -49,3 +44,9 @@ classes:
|
||||
SetReplayNumber:
|
||||
ResetData:
|
||||
SetJoystickIsGamepad:
|
||||
SetJoystickAxesMaximumIndex:
|
||||
SetJoystickAxesAvailable:
|
||||
SetJoystickPOVsMaximumIndex:
|
||||
SetJoystickPOVsAvailable:
|
||||
SetJoystickButtonsMaximumIndex:
|
||||
SetJoystickButtonsAvailable:
|
||||
|
||||
43
wpilibc/src/main/python/semiwrap/simulation/GamepadSim.yml
Normal file
43
wpilibc/src/main/python/semiwrap/simulation/GamepadSim.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
extra_includes:
|
||||
- wpi/driverstation/Gamepad.hpp
|
||||
|
||||
classes:
|
||||
frc::sim::GamepadSim:
|
||||
force_no_trampoline: true
|
||||
methods:
|
||||
GamepadSim:
|
||||
overloads:
|
||||
const Gamepad&:
|
||||
int:
|
||||
SetLeftX:
|
||||
SetLeftY:
|
||||
SetRightX:
|
||||
SetRightY:
|
||||
SetLeftTriggerAxis:
|
||||
SetRightTriggerAxis:
|
||||
SetSouthFaceButton:
|
||||
SetEastFaceButton:
|
||||
SetWestFaceButton:
|
||||
SetNorthFaceButton:
|
||||
SetBackButton:
|
||||
SetGuideButton:
|
||||
SetStartButton:
|
||||
SetLeftStickButton:
|
||||
SetRightStickButton:
|
||||
SetLeftShoulderButton:
|
||||
SetRightShoulderButton:
|
||||
SetDpadUpButton:
|
||||
SetDpadDownButton:
|
||||
SetDpadLeftButton:
|
||||
SetDpadRightButton:
|
||||
SetMisc1Button:
|
||||
SetRightPaddle1Button:
|
||||
SetLeftPaddle1Button:
|
||||
SetRightPaddle2Button:
|
||||
SetLeftPaddle2Button:
|
||||
SetTouchpadButton:
|
||||
SetMisc2Button:
|
||||
SetMisc3Button:
|
||||
SetMisc4Button:
|
||||
SetMisc5Button:
|
||||
SetMisc6Button:
|
||||
@@ -12,12 +12,14 @@ classes:
|
||||
overloads:
|
||||
int, DriverStation::POVDirection:
|
||||
DriverStation::POVDirection:
|
||||
SetAxisCount:
|
||||
SetPOVCount:
|
||||
SetButtonCount:
|
||||
SetType:
|
||||
SetName:
|
||||
SetAxisType:
|
||||
GetOutput:
|
||||
GetOutputs:
|
||||
GetRumble:
|
||||
SetAxesMaximumIndex:
|
||||
SetAxesAvailable:
|
||||
SetPOVsMaximumIndex:
|
||||
SetPOVsAvailable:
|
||||
SetButtonsMaximumIndex:
|
||||
SetButtonsAvailable:
|
||||
|
||||
Reference in New Issue
Block a user