A simple keycode library