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

Bug: macos-dev-names-include handle internal keyboard if external keyboard detached #1479

Open
2 tasks done
rekby opened this issue Jan 12, 2025 · 0 comments
Open
2 tasks done
Assignees
Labels
bug Something isn't working macos Issue pertains to macos; jtroo has no macOS devices and does not maintain the support for this OS.

Comments

@rekby
Copy link

rekby commented Jan 12, 2025

Requirements

Describe the bug

I have two keyboard: a laptop internal and a external.

I have separated kanatas configs with macos-dev-names-include for filter keyboards and run two instances of the kanatas - one for each keyboard.

When I start kanata for the external keyboard, but the keyboard detached from the laptop - kanata starts to handle events for internal laptop keyboard.

Relevant kanata config

filter for external keyboard:

(defcfg 
    concurrent-tap-hold yes
    delegate-to-first-layer yes
    macos-dev-names-include (
        "K:03 PRO 43mm"
    )
)

To Reproduce

Add "macos-dev-names-include" config with name of detached keyboard.

Expected behavior

Handle nothing at start and start handle events of the keyboard, when it attach.

Kanata version

kanata 1.8.0-prerelease-1

Debug logs

No response

Operating system

MacOS 15.2

Additional context

No response

@rekby rekby added the bug Something isn't working label Jan 12, 2025
@rekby rekby changed the title Bug: macos-dev-names-include handle internal keyboard even no of external keyboard attached Bug: macos-dev-names-include handle internal keyboard if no of external keyboard attached Jan 12, 2025
@rekby rekby changed the title Bug: macos-dev-names-include handle internal keyboard if no of external keyboard attached Bug: macos-dev-names-include handle internal keyboard if external keyboard detached Jan 12, 2025
@jtroo jtroo added the macos Issue pertains to macos; jtroo has no macOS devices and does not maintain the support for this OS. label Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macos Issue pertains to macos; jtroo has no macOS devices and does not maintain the support for this OS.
Projects
None yet
Development

No branches or pull requests

2 participants