No, this is great, and I've just done that in this PR. I was looking for something like that in the standard library, and, amazingly, didn't find KeyCode. Thanks!