Added primitive mouse recording