Trying to get keyboard events working