detect international and custom keyboard layouts and use the intel to enhance/unify keydown, keyup and keypress events