   '77A': doClearMemory
   #H
   '72': doNavigateHome
-  
+  '72S': doStraightenView
   
 document.addEventListener "keydown", (e)->
   keyCode = "" + e.keyCode

    
  getViewCenter: ->@center
  getViewOffsetMatrix: ->@tfm
  
  rebuildAt: (newCenter) ->
    @center = newCenter

doNavigateHome = ->
  observer.navigateTo unity

doStraightenView = ->
  observer.setViewOffsetMatrix M.eye()
  
class Debouncer
  constructor: (@timeout, @callback) ->
    @timer = null
