Unit 4: Gamepad Input
Turn driver input into predictable robot behavior with button toggles, joystick scaling, trigger controls, and sensitivity curves.
6Lessons
0Completed
Not StartedCurrent Status
Lesson Roadmap
4.1 · Button TogglesLesson 4.1: Mapping gamepad Buttons to Simple Mechanism TogglesOpen4.2 · Joystick ScalingLesson 4.2: Turning Joystick X and Y into Smooth Drive ControlOpen4.3 · Trigger InputsLesson 4.3: Using Triggers for Gradual Braking ControlOpen4.4 · Sensitivity CurvesLesson 4.4: Shaping Joystick Sensitivity with squareInputWithSign()Open4.5 · Arcade DriveLesson 4.5: Build a Complete Arcade DriveOpenUnit 4 · Coding ChallengeUnit 4 Comprehensive Coding Challenge: Driver-Controlled DrivetrainOpen
What This Unit Covers
Use buttons, joysticks, and triggers appropriately based on whether the mechanism needs digital or analog control.
Implement deadzones and sensitivity shaping so the robot feels stable and intuitive to drive.
Combine multiple gamepad inputs into a clean arcade-drive style control system.
Review the sequence and goals here, then resume at your first incomplete lesson.
Already know this unit?
Complete the comprehensive coding challenge to prove every unit objective and jump directly to Unit 5: Logic & Decisions.
Stuck on this lesson?
Ask about anything on this page. It can see which lesson you have open and which part you are reading.