Method and input device of a signal