Implement arbitrary keybinding algorithm for InputManager (supports max 6 custom keys)