pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.24k stars 828 forks source link

Karabiner detecting two separate Keychron keyboards as the same #2635

Open adelejjeh opened 3 years ago

adelejjeh commented 3 years ago

I have a Keychron K2 and K8, and when I set a custom mapping of some keys for my K2, the same mapping got applied when I connected my K8. It looks like Karabiner is detecting both keyboards as the same because when I connect both at the same time only one appears.

thierrymichel commented 3 years ago

Hi, Same problem with a K6 and K3. They have the same product_id.

reneilpascua commented 3 years ago

same with k6 and k3. particularly annoying w these guys because it's home and end above the arrow keys on the k3, but pu and pd above the arrow keys on the k6.

is there anything we can do without waiting for a new release of karabiner?

Viral-Inc commented 3 years ago

same issue for 2 apple magic keyboards. Mini workaround: if I plug one in with USB and use the other on bluetooth then they register as separate devices in Karbiner

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Amparose commented 2 years ago

K6 and K2 and this is still an issue. I don't understand how the names in Karabiner show up differently yet settings aren't separated.

iandundas commented 2 years ago

Related: https://github.com/pqrs-org/Karabiner-Elements/issues/3071

dapicester commented 1 year ago

Same here for K3 and K6. Any ideas on how to fix this?

melbandera commented 2 weeks ago

K2 and K7 checking in—same issue. This sucks because they have different default layouts, so trying to get one to mimic the other is just not possible. Remapping one remaps the other one so you get this weird loop of pretty unusable mappings. I've ended up in a situation where either I can have:

OR

I notice that both keyboards have the same manufacturer and product IDs, but they are recognized as having different names. When I connect the K2, Elements lists the K2 as a device under Devices, and when I connect the K7, that's properly listed too. (They also have different serial numbers, though I'm guessing that that is device-specific, not model-specific.)

melbandera commented 2 weeks ago

i should add this:

[
    {
        "device_id": 4294969537,
        "is_built_in_keyboard": true,
        "is_game_pad": false,
        "is_karabiner_virtual_hid_device": false,
        "is_keyboard": true,
        "is_pointing_device": false,
        "location_id": 165,
        "manufacturer": "Apple",
        "product": "Apple Internal Keyboard / Trackpad",
        "transport": "FIFO"
    },
    {
        "device_id": 4294969565,
        "is_built_in_pointing_device": true,
        "is_game_pad": false,
        "is_karabiner_virtual_hid_device": false,
        "is_keyboard": false,
        "is_pointing_device": true,
        "location_id": 165,
        "manufacturer": "Apple",
        "product": "Apple Internal Keyboard / Trackpad",
        "transport": "FIFO"
    },
    {
        "device_id": 4295025910,
        "is_game_pad": false,
        "is_karabiner_virtual_hid_device": false,
        "is_keyboard": true,
        "is_pointing_device": false,
        "location_id": 2044922150,
        "product": "Keychron K2",
        "product_id": 591,
        "serial_number": "DC:2C:26:09:E3:79",
        "transport": "Bluetooth",
        "vendor_id": 1452
    },
    {
        "device_id": 4295026049,
        "is_game_pad": false,
        "is_karabiner_virtual_hid_device": false,
        "is_keyboard": true,
        "is_pointing_device": false,
        "location_id": 1393309222,
        "product": "Keychron K7",
        "product_id": 591,
        "serial_number": "DC:2C:26:36:0C:53",
        "transport": "Bluetooth",
        "vendor_id": 1452
    },
    {
        "device_address": "e6-ac-1e-7f-52-16",
        "device_id": 4295025569,
        "is_game_pad": false,
        "is_karabiner_virtual_hid_device": false,
        "is_keyboard": false,
        "is_pointing_device": true,
        "location_id": 1823842428,
        "manufacturer": "Logitech",
        "product": "MX Vertical",
        "product_id": 45088,
        "serial_number": "5F9182DF45DC513C",
        "transport": "Bluetooth Low Energy",
        "vendor_id": 1133
    }
]