I understand. This means you need to instantiate the Joystick object at a higher
in the individual code snippet examples (which I understand now).
I"m assuming Joystick object instantiation should be done in the constructor
of the RobotContainer class, and then the Joystick object reference is passed
down through the constructor of any subsystem that needs access to it (typically
the drive Subsystem, that keeps a reference to it, and typically uses the axes),
and then pass the same reference to the constructor for the JoystickButton(s)
(that, obviously, access the buttons).
Just wanted to understand best practice for organization of the entire robot code
base within the new architecture (which I like btw) before building out other
subsystems and commands.
Charlie