Skip to content

Conversation

@abraha2d
Copy link
Contributor

@abraha2d abraha2d commented Nov 24, 2020

Note: Also contains a fixed version of #157. Should probably reach a resolution on that before this one.

This pull request allows for one to switch multiple applications in one go by setting Alt+Tab OnInterval in one direction, and Alt+Shift+Tab OnInterval in the other direction.
Fixes #35. It also addresses some related issues that I encountered (fixes #118 and fixes #128).

These changes will break any use case that requires being able to do gestures on multiple axes during one gesture button press. I can't think of any use cases that need that functionality, though.

Changes:

Sample config for application switching:

devices: (
{
    name: "M720 Triathlon Multi-Device Mouse";
    buttons: (
        {
            cid: 0xd0;
            action = {
                type: "Gestures";
                gestures: (
                    {
                        direction: "Left";
                        mode: "OnInterval";
                        interval: 150;
                        action = {
                            type: "Keypress";
                            keys: ["KEY_LEFTALT", "KEY_LEFTSHIFT", "KEY_TAB"];
                        };
                    },
                    {
                        direction: "Right";
                        mode: "OnInterval";
                        interval: 150;
                        action = {
                            type: "Keypress";
                            keys: ["KEY_LEFTALT", "KEY_TAB"];
                        };
                    }
                );
            };
        }
    );
}
);

@bdavj
Copy link

bdavj commented Aug 23, 2021

Running @abraha2d 's branch to try and sort smooth volume operations on thumb button. Can confirm fixes for #128 greatly improve usability for volume operations.

@T99Rots
Copy link

T99Rots commented Jan 15, 2022

Just locally rebased this branch in to master and can confirm everything still works perfectly and it still fixes multiple issues, would definitely like to see this branch merged @PixlOne

@abraha2d abraha2d marked this pull request as ready for review February 1, 2022 01:50
@PixlOne PixlOne force-pushed the main branch 14 times, most recently from a062ed0 to a77b328 Compare May 4, 2023 05:32
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

Successfully merging this pull request may close these issues.

Gesture reaction time Few pixels doesn't prevent OnRelease from triggering Allow define prefix keys in gesture actions

3 participants