Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different input sources for your internal and external keyboards #1689

Open
FreddieAbdon opened this issue Jul 9, 2024 · 0 comments
Open

Comments

@FreddieAbdon
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant