Sets the keycode of the this.
a Event of type KEY_PRESS or KEY_RELEASE
the keycode representing the key