proxy key binding function