input: Add a function to add a keycode to the existing set