WIP: boilerplate code for input methods

Change-Id: I41d4de1cab521c679d414cfc7c1a2d0f9c1fcaaf