Fix key/keyCode, and provide example code to exercise them.