Added unique scan code to key event for custom mapping