       @initMouse()
 
   setKeyboardActivity : (value) ->
-    User.Configuration.keyboardActive = value 
-    User.Configuration.push()   
+    Model.User.Configuration.keyboardActive = value 
+    Model.User.Configuration.push()
     if value is false
       @input.keyboard.unbind()
       @input.keyboard = null

  # for more buttons look at Input.Gamepad
  initGamepad : ->
    @input.gamepad = new Input.Gamepad(
        "ButtonA" : -> View.move [0, 0, User.Configuration.moveValue]
        "ButtonB" : -> View.move [0, 0, -User.Configuration.moveValue]
        "LeftStickX" : View.yawDistance
        "LeftStickY" : View.pitchDistance



    
      #ScaleTrianglesPlane
      "l" : -> View.scaleTrianglesPlane -Model.User.Configuration.scaleValue
      "k" : -> View.scaleTrianglesPlane Model.User.Configuration.scaleValue

      #Move
      "w" : -> View.move [0, Model.User.Configuration.moveValue, 0]
      "s" : -> View.move [0, -Model.User.Configuration.moveValue, 0]
      "a" : -> View.move [Model.User.Configuration.moveValue, 0, 0]
      "d" : -> View.move [-Model.User.Configuration.moveValue, 0, 0]
      "space" : -> View.move [0, 0, Model.User.Configuration.moveValue]
      "shift + space" : -> View.move [0, 0, -Model.User.Configuration.moveValue]

      #Rotate in distance
      "left"  : -> View.yawDistance Model.User.Configuration.rotateValue
      "right" : -> View.yawDistance -Model.User.Configuration.rotateValue
      "up"    : -> View.pitchDistance -Model.User.Configuration.rotateValue
      "down"  : -> View.pitchDistance Model.User.Configuration.rotateValue
      
      #Rotate at centre
      "shift + left"  : -> View.yaw Model.User.Configuration.rotateValue
      "shift + right" : -> View.yaw -Model.User.Configuration.rotateValue
      "shift + up"    : -> View.pitch -Model.User.Configuration.rotateValue
      "shift + down"  : -> View.pitch Model.User.Configuration.rotateValue

      #misc keys
      "n" : -> Helper.toggle()
