Update examples to reflect changes in keyboard events.