Skip to content

Keyboard Shortcut does not allow for e.g. "Cmd + C" #1405

Description

@cypris75

OS

macOS 27.0 (Golden Gate)

LinearMouse

0.11.4

Describe the bug

Environment:

  • MacOS 27.0
  • MacBook Pro M1
  • German Keyboard
  • Linear Mouse installed via brew install --cask linearmouse

I tried to create a keyboard shortcut for my external mouse to use copy/paste for additional buttons.

Whenever I record e.g. "Cmd + C" or "Cmd + V" only the Command button gets recorded.

Image

Config file:

{
  "$schema" : "https:\/\/schema.linearmouse.app\/0.11.4",
  "schemes" : [
    {
      "buttons" : {
        "mappings" : [
          {
            "action" : {
              "keyPress" : [
                "command"
              ]
            },
            "button" : 3,
            "command" : false,
            "control" : false,
            "option" : false,
            "shift" : false
          },
          {
            "action" : {
              "keyPress" : [
                "command"
              ]
            },
            "button" : 4,
            "command" : false,
            "control" : false,
            "option" : false,
            "shift" : false
          }
        ]
      },
      "if" : {
        "device" : {
          "category" : "mouse",
          "productID" : "0x1007",
          "productName" : "Wired Gaming Mouse",
          "vendorID" : "0x258a"
        }
      }
    }
  ]
}

How could I overwrite this in the config file if recording does not work?

To reproduce

Video: https://www.loom.com/share/91b97126901f40d38892571503172c79

In the video I presse first "Cmd + C" and then "Cmd + C"

Also only entering e.g. "c" does not work.

Expected behavior

I could expect to see this:

Image

Anything else?

Related discussion: #859

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions