01-02-2026 12:48 PM
Is there currently a way to get the 2026 FRC tools to recognize gyro and accelerometer data from a Switch/Switch 2/PS4/PS5 controller to use as inputs for a robot?
01-07-2026 07:31 PM
LabVIEW has a set of VIs that use Windows calls to support Joysticks. It is possible it can also "see" Game Controllers. The Functions that support Joysticks are on the "Input Device Control" functions found on the "Connectivity" palette. They also will support X-Box controllers (I don't know about other controllers).
Rather then try to describe the "Joystick" VIs, I suggest you watch some You-Tube videos on "LabVIEW xbox controller". Note that Buttons map to Booleans, the "analog" controls (Thumb controls, triggers, bumpers) map to analog values, and I don't remember what the D-pad maps to, but it should be obvious if you write yourself a little test program.
Bob Schor