A mobile terminal, comprising: a display unit; a wireless communication unit configured to wirelessly communicate with an insole in a shoe and an external device, the insole including a dedicated controller (150, 40) and at least one sensor (110, 11-12, 21-28, 30); and a controller, wherein the controller is configured to: receive a foot gesture input signal from the insole, control a function on the mobile terminal according to a first foot gesture input signal in response to the foot gesture input signal being mapped to the function of the mobile terminal, and characterized in that the controller is further configured to: transmit a control signal to the external device to control a function on the external device in response to the foot gesture input signal being mapped to the function of the external device, wherein the control signal to the external device to control the function on the external device is generated by the controller of the mobile terminal, and wherein the controller is further configured to: receive location information of the insole from the insole or the external device, and control the function on the external device when the location information of the insole and the foot gesture input signal are mapped to the function of the external device. a display unit; a wireless communication unit configured to wirelessly communicate with an insole in a shoe and an external device, the insole including a dedicated controller (150, 40) and at least one sensor (110, 11-12, 21-28, 30); and a controller, wherein the controller is configured to: receive a foot gesture input signal from the insole, control a function on the mobile terminal according to a first foot gesture input signal in response to the foot gesture input signal being mapped to the function of the mobile terminal, and characterized in that the controller is further configured to: transmit a control signal to the external device to control a function on the external device in response to the foot gesture input signal being mapped to the function of the external device, wherein the control signal to the external device to control the function on the external device is generated by the controller of the mobile terminal, and wherein the controller is further configured to: receive location information of the insole from the insole or the external device, and control the function on the external device when the location information of the insole and the foot gesture input signal are mapped to the function of the external device. receive a foot gesture input signal from the insole, control a function on the mobile terminal according to a first foot gesture input signal in response to the foot gesture input signal being mapped to the function of the mobile terminal, and characterized in that the controller is further configured to: transmit a control signal to the external device to control a function on the external device in response to the foot gesture input signal being mapped to the function of the external device, wherein the control signal to the external device to control the function on the external device is generated by the controller of the mobile terminal, and wherein the controller is further configured to: receive location information of the insole from the insole or the external device, and control the function on the external device when the location information of the insole and the foot gesture input signal are mapped to the function of the external device. transmit a control signal to the external device to control a function on the external device in response to the foot gesture input signal being mapped to the function of the external device, wherein the control signal to the external device to control the function on the external device is generated by the controller of the mobile terminal, and wherein the controller is further configured to: receive location information of the insole from the insole or the external device, and control the function on the external device when the location information of the insole and the foot gesture input signal are mapped to the function of the external device. receive location information of the insole from the insole or the external device, and control the function on the external device when the location information of the insole and the foot gesture input signal are mapped to the function of the external device.