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

Feature request: device blacklist for OS X and Windows #1033

Open
yzhuang opened this issue May 13, 2024 · 0 comments
Open

Feature request: device blacklist for OS X and Windows #1033

yzhuang opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request macos Issue pertains to macos; jtroo has no macOS devices and does not maintain the support for it.

Comments

@yzhuang
Copy link

yzhuang commented May 13, 2024

Is your feature request related to a problem? Please describe.

Currently, Linux has both device blacklist and whitelist support via:

linux-only-linux-dev-names-exclude
linux-only-linux-dev-names-include

However, on OS X, we only have a device whitelist macOS only: macos-dev-names-include.
Similarly, for windows, we only have windows-interception-keyboard-hwids.

Can we add blacklist support similar to linux-only-linux-dev-names-exclude for os x and windows as well?

Describe the solution you'd like.

Add macos-dev-names-exclude and windows-exclude-keyboard-hwids, similar to linux-only-linux-dev-names-exclude.

Describe alternatives you've considered.

My use case is to intercept all keyboard except my yubikey device.

I've been using the whitelist as an alternative, but it is inconvenient in several ways.
In particular:

  • Whenever a wired keyboard is removed and attached again, kanata stops intercepting it. So whenever I undock & dock my laptop, I have to restart kanata.
  • I need to update my whitelist whenever I attach a new keyboard.

Additional context

No response

@yzhuang yzhuang added the enhancement New feature or request label May 13, 2024
@jtroo jtroo added the macos Issue pertains to macos; jtroo has no macOS devices and does not maintain the support for it. label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request macos Issue pertains to macos; jtroo has no macOS devices and does not maintain the support for it.
Projects
None yet
Development

No branches or pull requests

2 participants