One possible solution to this is to create an interface
public interface InputController {
void ProcessInput ();
}
Then build two implementing classes TouchInputController and MouseInputController that handle their input device. If they share a lot of code you might consider using an abstract base class or some utility class. Within your app manager class’ initialisation code put:
private InputController inputController;