Added more legacy keyCodes
Clever modifiers management