Animals were trained to move a robotic platform (right) using a joystick. The joystick was spring-loaded, returning to the center position when released. Movement of the joystick was restricted to left, right, and forward movements, while not allowing for diagonal movements. The robotic platform rotated in place in the counter-clockwise and clockwise directions with left and right joystick movements, respectively, and moved forward with forward joystick movements (bottom-middle inset). Movement commands from the joystick reached the platform serially, so at any point in time only one command was executed. Joystick movements were translated to platform movements in discrete states, such that if the joystick moved past a threshold, the platform would move with a fixed speed after initial acceleration. Multiple microelectrode arrays were implanted in the arm and hand areas of primary motor cortex (top middle).