Skip to content

Add suport for MX Anywhere 3S #46

@yurividal

Description

@yurividal

Here is the descriptor file:

{
    return { 0xb037 };
}

QList<ControlDescriptor> MxAnywhere3sDescriptor::controls() const
{
    return {
        { 0x0050, 0, QStringLiteral("Left click"),        QStringLiteral("default"),          false },
        { 0x0051, 1, QStringLiteral("Right click"),       QStringLiteral("default"),          false },
        { 0x0052, 2, QStringLiteral("Middle click"),      QStringLiteral("default"),          true  },
        { 0x0053, 3, QStringLiteral("Back"),              QStringLiteral("default"),          true  },
        { 0x0056, 4, QStringLiteral("Forward"),           QStringLiteral("default"),          true  },
        { 0x00c4, 5, QStringLiteral("SmartShift toggle"), QStringLiteral("smartshift-toggle"),true  },
        { 0x00d7, 6, QStringLiteral("EasySwitch"),        QStringLiteral("default"),          false },
    };
}

FeatureSupport MxAnywhere3sDescriptor::features() const
{
    FeatureSupport f;
    f.battery        = true;
    f.adjustableDpi  = true;
    f.smartShift     = true;
    f.hiResWheel     = true;
    f.thumbWheel     = false;
    f.reprogControls = true;
    f.gestureV2      = false;
    return f;
}

int MxAnywhere3sDescriptor::minDpi()  const { return 200; }
int MxAnywhere3sDescriptor::maxDpi()  const { return 8000; }
int MxAnywhere3sDescriptor::dpiStep() const { return 50; }

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