Vonng / Capslock

Make Capslock Great Again!
Apache License 2.0
1.43k stars 287 forks source link

Hyper+left_command+L not working as expected #1

Closed paymog closed 6 years ago

paymog commented 6 years ago

Hi,

I've made a fork of this repo and I'm having trouble getting hyper + left_command + L to work as I expect. I've made the following mapping in the Hyper Application section and I have Hyper Navigation turned on:

        {
          "type": "basic",
          "from": {
            "key_code": "l",
            "modifiers": {
              "mandatory": [
                "left_command",
                "right_command",
                "right_control",
                "right_shift",
                "right_option"
              ]
            }
          },
          "to": [
            {
              "shell_command": "open -a 'Slack'"
            }
          ]
        },

When I try to use hyper + left_command + t I get the following output from the Karabiner event viewer:

eventType:FlagsChanged    code:0x36       name:right_command   flags:Cmd                                misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Ctrl Cmd                           misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Ctrl Opt Cmd                       misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x37       name:left_command    flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x37       name:left_command    flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Shift Opt Cmd                      misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Opt Cmd                            misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Cmd                                misc:
eventType:FlagsChanged    code:0x36       name:right_command   flags:                                   misc:
eventType:FlagsChanged    code:0x37       name:left_command    flags:Cmd                                misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Ctrl Cmd                           misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Shift Ctrl Cmd                     misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x36       name:right_command   flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Ctrl Opt Cmd                       misc:
eventType:FlagsChanged    code:0x37       name:left_command    flags:Ctrl Opt Cmd                       misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Opt Cmd                            misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Cmd                                misc:
eventType:FlagsChanged    code:0x36       name:right_command   flags:                                   misc:

when I try using hyper + left_command + l I get the following output from the event viewer (note the num pad and f2 being registered):

eventType:FlagsChanged    code:0x37       name:left_command    flags:Cmd                                misc:
eventType:FlagsChanged    code:0x36       name:right_command   flags:Cmd                                misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Ctrl Cmd                           misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Ctrl Opt Cmd                       misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x38       name:left_shift      flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x37       name:left_command    flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Shift Opt Cmd                      misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Shift Opt Cmd                      misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Shift Cmd                          misc:
eventType:FlagsChanged    code:0x36       name:right_command   flags:Shift                              misc:
eventType:KeyDown         code:0x7c       name:right_arrow     flags:Shift NumPad Fn                    misc:
eventType:KeyUp           code:0x7c       name:right_arrow     flags:Shift NumPad Fn                    misc:
eventType:FlagsChanged    code:0x38       name:left_shift      flags:                                   misc:
eventType:FlagsChanged    code:0x37       name:left_command    flags:Cmd                                misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Ctrl Cmd                           misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Shift Ctrl Cmd                     misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x36       name:right_command   flags:Shift Ctrl Opt Cmd                 misc:
eventType:FlagsChanged    code:0x3c       name:right_shift     flags:Ctrl Opt Cmd                       misc:
eventType:FlagsChanged    code:0x3e       name:right_control   flags:Opt Cmd                            misc:
eventType:FlagsChanged    code:0x3d       name:right_option    flags:Cmd                                misc:
eventType:FlagsChanged    code:0x36       name:right_command   flags:Cmd                                misc:
eventType:FlagsChanged    code:0x37       name:left_command    flags:                                   misc:

Any ideas on what might be going on?

paymog commented 6 years ago

Oh, immediately after posting this I realize that this shortcut is used to highlight text, probably from hyper navigation.