int keyLocation;
int keyCode = renderCharCodeCalcKeyCode(keyEvt,evtVarName,code);
if (keyEvt instanceof W3CKeyboardEventImpl) // Evento del cliente
{
W3CKeyboardEventImpl dom3KeyEvt = (W3CKeyboardEventImpl)keyEvt;
keyIdentifier = dom3KeyEvt.getKeyIdentifier();
keyLocation = dom3KeyEvt.getKeyLocation();
}
else // Del servidor
{
keyIdentifier = toKeyIdentifier(keyCode);
keyLocation = 0; // No hay manera de saberlo.