-
Notifications
You must be signed in to change notification settings - Fork 21
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
Multiple external keyboards #6
Comments
It's a great app. For sure. But...yesterday I installed your app. Works good and I could handle the german location settings for my german magic keyboard and it switched the location to english(international) when I used my english magic keyboard. but today after a reboot it handles settings for just USB or Bluetooth. Every bluetooth keyboad has now the english location (or what ever you selected) and every usb keyboard has the other location. Is there a workaround for that problem? And on the other hand, why did it work for the first time and after the reboot not? It's strange, isn't it? |
Hello soma, I will get myself a 2nd external keyboard to try and understand what's going on. I was fairly sure that if you are willing to compile the source and add a print statement that lists the identifying keys that would be helpful.. thanks |
The reason i made a PR with locationid is because with two external keyboards the mapping is not unique anymore. Especially if it's the same keyboard type, which would effectively have the same productid. |
I understand why you made the PR, and how the key I used up until now may not be unique. What I disagree with is using LocationId :) So I have to find fields which the usb vendors/manufacturers actually DO fill (unlike serial number for instance) which could be used to uniquely identify there are a few which seem promising:
from https://opensource.apple.com/source/IOHIDFamily/IOHIDFamily-247/IOHIDFamily/IOHIDKeys.h |
I agree but have no clue about Swift so I don't know how to get it :)
…Sent from my iPhone
On 2 Jun 2017, at 14:08, Jean Helou ***@***.***> wrote:
I understand why you made the PR, and how the key I used up until now may not be unique. What I disagree with is using LocationId :) So I have to find fields which the usb vendors/manufacturers actually DO fill (unlike serial number for instance) which could be used to uniquely identify
devices without tying them to a specific physical port.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I have created a branch feat/track-multiple-location with a verbose output which lists most of the keys above.
thanks |
@Trefex I have added a command line parameter to make autokbisw use the keyboard locationId as identifier. |
Great thanks. |
Do you think it could be possible to manage 2 external keyboards?
Currently it only remembers the settings for 1 external keyboard, even when 2 are used.
Cheers,
The text was updated successfully, but these errors were encountered: