anchor.diff:  
   |===
   
  -*Tip:* If you don't recall an input constant during development, you benefit from an IDE's code completion functionality: Place the caret after e.g. `KeyInput.|` and trigger code completion to select possible input identifiers.
  -
  +[TIP]
  +====
  +If you don't recall an input constant during development, you benefit from an IDE's code completion functionality: Place the caret after e.g. `KeyInput.|` and trigger code completion to select possible input identifiers.
  +====
   
   == Exercises
   
  
positive.code:                                       new MouseButtonTrigger(MouseInput.BUTTON_LEFT));
  
  ----
  
  Now you need to register your trigger mappings.
  
  .  You register the pause action to the ActionListener, because it is an “on/off action.
  .  You register the movement actions to the AnalogListener, because they are gradual actions.
  
  [source,java]
  ----
  
  
negative.code: 
  *  Example: Pause button, shooting, selecting, jumping, one-time click interactions.
  
  [TIP]
  ====
  It's very common that you want an action to be only triggered once, in the moment when the key is _released_. For instance when opening a door, flipping a boolean state, or picking up an item. To achieve that, you use an `ActionListener` and test for `… &amp;&amp; !keyPressed`. For an example, look at the Pause button code:
  
  [source,java]
  ----
  