         left: 37
         right: 39
 
+    keyModifiers =
+        alt: (event) -> event.altKey
+        control: (event) -> event.ctrlKey
+        meta: (event) -> event.metaKey
+        shift: (event) -> event.shiftKey
+
     makeEvent = (event, option) ->
         option = option or {}
         (code, args) ->

                    continue
                if not option.filtered
                    continue
                filtered = true
                if keyCodes[k]
                    k = keyCodes[k]
                filter[k] = true

            filtered = false
            scan = true
            filter = {}
            filterExt = []
            for k in args.slice(1)
                if k is 'stop'
                    stop = true
