Refactored keyboard module : now handle multiple modifier keys.