1. A mobile terminal comprising: a body; a display provided on a front side of the body; an input device provided on a back side of the body, the input device being exposed through a back surface of the body and having a plurality of buttons; a storage device configured to store a mapping between a prescribed pattern of inputs associated with the input device and prescribed commands for a plurality of functions; and a controller configured to control the mobile terminal based on an input at the input device, wherein the input is detected at the input device, a prescribed pattern associated with the input at the input device is determined, a command for a function associated with the prescribed pattern of the input is retrieved from the storage device, and the retrieved command for the function associated with the input is processed.