keyCode property

int keyCode
final

The hardware key code corresponding to this key event.

This is the physical key that was pressed, not the Unicode character. See characterCodePoint for the Unicode character.

Implementation

final int keyCode;