Capturing keypresses

how to know if one presses a key (with a keycode not from the list) ?
im trying:

if(Key.isDown(Key.getCode(104)))do_something();

and it ‘does_something()’ if any key is pressed.
that’s kinda lame question but thanks anyway :wink: