input: configure some buttons

* This fixes the "infinite clicking on google search field on home
  screen"-bug, when a heaset jack is inserted