Changes between Version 4 and Version 5 of ButtonEditingTutorial


Ignore:
Timestamp:
Feb 5, 2015, 8:18:53 PM (10 years ago)
Author:
awollack
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ButtonEditingTutorial

    v4 v5  
    1111
    1212{{{public static Button xboxLeftTrigger = new XboxTrigger(xboxController,XboxTrigger.TriggerConstant.LEFT_TRIGGER);}}}
     13
     14If you want to register a command to a button use this line
     15
     16{{{ HumanInput.registerWhileHeldCommand(Humaninput.lifterMoveUpButton, new MyCommand())}}}