Refactor key bindings to keep dealing with actual keycodes in the Config class