 
     
       #ScaleTrianglesPlane
-      "l" : -> View.scaleTrianglesPlane -User.Configuration.scaleValue
-      "k" : -> View.scaleTrianglesPlane User.Configuration.scaleValue
+      "l" : -> View.scaleTrianglesPlane -Model.User.Configuration.scaleValue
+      "k" : -> View.scaleTrianglesPlane Model.User.Configuration.scaleValue
 
       #Move
-      "w" : -> View.move [0, User.Configuration.moveValue, 0]
-      "s" : -> View.move [0, -User.Configuration.moveValue, 0]
-      "a" : -> View.move [User.Configuration.moveValue, 0, 0]
-      "d" : -> View.move [-User.Configuration.moveValue, 0, 0]
-      "space" : -> View.move [0, 0, User.Configuration.moveValue]
-      "shift + space" : -> View.move [0, 0, -User.Configuration.moveValue]
+      "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 User.Configuration.rotateValue
-      "right" : -> View.yawDistance -User.Configuration.rotateValue
-      "up"    : -> View.pitchDistance -User.Configuration.rotateValue
-      "down"  : -> View.pitchDistance User.Configuration.rotateValue
+      "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 User.Configuration.rotateValue
-      "shift + right" : -> View.yaw -User.Configuration.rotateValue
-      "shift + up"    : -> View.pitch -User.Configuration.rotateValue
-      "shift + down"  : -> View.pitch User.Configuration.rotateValue
+      "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()

  # 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


      @initMouse()

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