implement inputlistening for hud elements