title: How to link keyboard press to action
body: <p>I'm getting the hang of Elm but I keep struggling with signals and keyboard presses. The code below is an example of the start-app package. I would like to have that when I press the spacebar that the counter is incremented. How is this done in the example below?</p>
  
  <pre><code>import Html exposing (div, button, text)
  import Html.Events exposing (onClick)
  import StartApp.Simple as StartApp
  
  
  main =
    StartApp.start { model = model, view = view, update = update }
  
  
  model = 0
  
  
  view address model =
    div []
      [ button [ onClick address Decrement ] [ text "-" ]
      , div [] [ text (toString model) ]
      , button [ onClick address Increment ] [ text "+" ]
      ]
  
  
  type Action = Increment | Decrement
  
  
  update action model =
    case action of
      Increment -&gt; model + 1
      Decrement -&gt; model - 1 
  </code></pre>