Skip to content

Only one device is forwarded to the client. #4

@deliciouslytyped

Description

@deliciouslytyped

I'm using this for rvaiya/keyd#838 .

It seems to me from your code that it should be possible for the server to forward multiple devices to the client, but it doesn't seem to be working for me. The server matches a single device for one of any of the configured tags, and then that's it.

Are multiple devices supposed to work?

If yes, I'll look into it some more and post come configs and logs.

In the meantime, I'll probably try working around this by using multiple instances...

client config:

 cat config.json 
{
    "slots": [
        {
            "controllers": [
                {
                    "tag": "m"
                },
                {
                    "tag": "l"
                },
                {
                    "tag": "k"
                }
            ]
        }
    ]
}

server config:

 cat server.json 
{
    "controllers": [
        {
            "filter": { "vendor": "0000", "product": "0000", "name": "x11vnc injector" },
            "tag": "k"
        },
        {
            "filter": { "name": "SEM USB Keyboard" },
            "tag": "l"
        },
        {
            "filter": { "name": "RAPOO Rapoo 2.4G Wireless Device" },
            "tag": "m"
        }

    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions