-
Notifications
You must be signed in to change notification settings - Fork 173
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
Configure via device ids #55
Comments
And by the way; what a great tool. Just migrated my keymap from interception tools (https://gitlab.com/interception/linux/tools) to keyd.
to:
Props! |
Coming from Interception Tools, I too felt it was a bit odd that the filename was the human name of the device. In addition to the above issue, I also wish there were a way to:
|
This was a clumsy initial design decision. I plan on allowing the user to specify product/vendor id pairs to which the config applies within the config file itself in an upcoming commit. This will also allow configs to apply to more than one keyboard without resorting to symlinking.
I'm not convinced about the utility of pattern matching. Different devices can have similar names, it makes more sense to let the user explcitly specify the device(s) of interest in the form of product ids.
Keyd actually creates a separate virtual pointer for this reason. udev will identify anything which can produce REL events as a mouse, which causes certain pieces of software to behave incorrectly. I'm not sure exposing the specific key events of the uinput device makes sense though. Have you encountered a specific problem? |
I want to package keyd as a deb, and it isn't clear to me what I should do as a reasonable default setting. The best option so far is "default.cfg" but I'm not sure that suits all users. |
I meant with respect to needing to specify the capabilities of the device. Thanks for taking the trouble to package it. That has been on my todo list for a while.
I would advise against even creating 'default.cfg' since it causes all keyboard events to be funnelled through keyd's virtual device. This shouldn't be a problem most of the time, but it may conflict with other (potentially evdev based) tools the user has installed. You may want to include some examples in the config directory though. |
Using the default.cfg will conflict for me as well, when using an external keyboard which I flashed and programmed already with the qmk firmware. Product/vendor id pairs would be great! |
This is in the pipeline along with #59. I need to clean up some of the config code for this and a few related changes. |
This should be implemented in the latest version. Sorry for the delay. |
No worries mate! |
I'm closing this for now, feel free to file another issue if you encounter any problems :). |
I'm having problems creating a config file.
My keyboard is listed as "Apple Inc. Apple Internal Keyboard / Trackpad".
Since this keyboard name contains a forward slash, I'm unable to create a config file, since it's not following the UNIX philosophy:
touch Apple\ Inc.\ Apple\ Internal\ Keyboard\ \/\ Trackpad.cfg
touch: cannot touch 'Apple Inc. Apple Internal Keyboard / Trackpad.cfg': No such file or directory
Do you have any ideas supporting different ways of specifying keyboard id-s? Like the path of a device?:
Apple Inc. Apple Internal Keyboard / Trackpad
The text was updated successfully, but these errors were encountered: