libgdx/libgdx — pull request #1014 by jrenner (2013-11-28 11:21:25+00:00)
Title: added getKeyName method to Input.Keys

Very inelegant switch statement returns key name(s) when given the int keycode. It would be nice if key codes were stored in an enum, but there is no undoing that at this point without breaking the API, so this is the best I could do.

Before anyone asks, I didn't type out the code myself, it was generated by a python script.