Skip to content

Is KEY_LEFTALT + KEY_LEFT not supported? #500

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

Open
jclsn opened this issue Apr 20, 2025 · 0 comments
Open

Is KEY_LEFTALT + KEY_LEFT not supported? #500

jclsn opened this issue Apr 20, 2025 · 0 comments

Comments

@jclsn
Copy link

jclsn commented Apr 20, 2025

I am trying to explicitely map the side buttons to Alt+left and Alt+right. This way I could keep the browser navigation functionality and also map these key combinations to other applications. It doesn't seem to work though. When I exchanged KEY_LEFTALT with KEY_LEFTMETA it works.

devices: ({
    name: "Wireless Mouse MX Master 3";

    buttons: (

        {
            # Thumb "Back" button → Send Alt Left + Left
            cid = 0x53;
            mode: "OnPress";
            action = 
            {
                type: "Keypress";
                keys = ["KEY_LEFTALT", "KEY_LEFT"];
            }
        },
        {
            # Thumb "Forward" button → Send Alt Left + Right
            cid = 0x56;
            mode: "OnPress";
            action = 
            {
                type: "Keypress";
                keys = ["KEY_LEFTALT", "KEY_RIGHT"];
            },
        }
        );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant