The invention relates to a system for controlling a device implanted in a human or animal body on the basis of voluntary commands issued by a user without the use of any external peripheral. The user issues a voluntary command to the implanted device by applying a specific and predetermined code, consisting of at least one mechanical action and of at least one additional piece of information. Each mechanical action and each additional piece of information are measured by at least one sensor. The output signal(s) of the sensor(s) are processed and used to validate the predetermined code by means of the identification of at least one mechanical action executed by the user and combined with at least one piece of additional information, and the comparison thereof with a corresponding reference model. The invention further relates to a method for detecting an actuation control of an implantable device.