                 @mouseMove(@position)
             if(cmd.action == 'scroll')
                 @scrollMouse cmd.direction, cmd.magnitude
-        if(cmd.type == 'keyboardTest')
-            @keyboardTest(cmd.action)
+        if(cmd.type == 'keyboard')
+            if(cmd.action in ['up', 'down', 'tap'])
+                @keyboard cmd.action, cmd.button
 
     activateRecipe: (recipeName) =>
         recipe = @recipes[recipeName]

            console.log 'This aint 3d, man!'

    executeAction: (action) =>
        console.log "Execute action: ", action
        cmd = @actions[action]
        console.log "cmd: ", cmd

        if(cmd.feedback?)
            if(cmd.feedback.audio?)

            y: position.y * screenSize.height
        @robot.moveMouse(moveTo.x, moveTo.y)

    # buttonAction: up|down|click|doubleClick, button: left|right
    mouseButton: (buttonAction, button) =>
        feedback = window.feedback
        if(buttonAction == 'up')
