compositor: implement the key binding interface