Skip to content

Different input sources for your internal and external keyboards #1689

Open
@FreddieAbdon

Description

When attempting to set different input sources for internal and external keyboards using Karabiner-Elements, I receive an error message regarding manipulators missing or being empty.

Here is the configuration I’ve trying to use:

  1. Open Karabiner-Elements.
  2. Go to "Complex Modifications" and add a new rule with the following JSON configuration:
    {
    "title": "Different input sources for internal and external keyboards",
    "rules": [
    {
    "description": "Switch to Spanish input source for external keyboard and English for internal keyboard",
    "manipulators": [
    {
    "type": "basic",
    "from": {
    "key_code": "vk_none"
    },
    "to": [
    {
    "select_input_source": {
    "language": "es"
    }
    }
    ],
    "conditions": [
    {
    "type": "device_if",
    "identifiers": [
    {
    "vendor_id": 1267,
    "product_id": 259
    }
    ]
    }
    ]
    },
    {
    "type": "basic",
    "from": {
    "key_code": "vk_none"
    },
    "to": [
    {
    "select_input_source": {
    "language": "en"
    }
    }
    ],
    "conditions": [
    {
    "type": "device_if",
    "identifiers": [
    {
    "vendor_id": 1452,
    "product_id": 630
    }
    ]
    }
    ]
    }
    ]
    }
    ]
    }

I have ensured that the necessary permissions are granted to Karabiner-Elements in the “Privacy & Security” settings, and the correct input sources are added in macOS. However, I am still facing this issue.

Expected Behavior:
Karabiner-Elements should switch input sources based on the keyboard being used.

Actual Behavior:
Error message: manipulators is missing or empty.

Operating system: macOS Sonoma 14.5

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions