Comments (7)
@PixlOne Oh, I see. Thank you! I also misunderstood the function: I thought it'd only trigger once (after a "few" pixels). Maybe such a "single-shot" method could be added as well?
from logiops.
That's weird, my MX Master doesn't seem to have that issue.
Could you post a log of the program and your config file?
from logiops.
Config:
devices: (
{
name: "MX Master 3";
smartshift:
{
on: true;
threshold: 10;
};
hiresscroll:
{
hires: false;
invert: false;
target: false;
};
dpi: 1250;
buttons: (
{
cid: 0xc3;
action =
{
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnFewPixels";
action =
{
type: "Keypress";
keys: ["KEY_PAUSE"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_F12"];
};
},
{
direction: "None";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_TAB"];
};
}
);
};
}
);
}
);
KEY_PAUSE
triggers my Terminal being focused on my system. When I hold the thumb button and move the mouse up the terminal quickly gains focus, then loses it again. It looks as if the event is triggered twice in very quick succession - and then never again. The other actions keep working.
from logiops.
Your config file was missing a pixels
field for OnFewPixels which resulted in undefined behaviour. It should have warned you about that and disabled the gesture but for some reason, it didn't.
I just fixed this in the latest commit.
from logiops.
Yeah, I didn't really know what I should call it. In hindsight, I should have called it "PixelInterval". I might change it but I'd like to avoid messing with people's configs.
from logiops.
I agree, the config should probably remain compatible. We could either add a separate singleshot
mode, or switch to that behavior in OnFewPixels
mode when pixels
is set to 0?
from logiops.
Also, maybe it would be a nice idea to add a OnFewPixels
mode configuration to the example configuration file?
from logiops.
Related Issues (20)
- Not working Master 3S - Ubuntu 22.04 (gnome) HOT 11
- Compilation fails with LTO HOT 5
- MX Master 3S times out HOT 10
- How this differences from the libratbag project? HOT 2
- M720: mouse freezes, but no gestures
- Compiler Error: »transform« is not element of »std« HOT 5
- Add SC COPY, PASTE and CUT key HOT 4
- How to use superkey in Ubuntu HOT 1
- Config for disability zoom in KDE? HOT 2
- Missing include in group.h HOT 1
- Running logid action from command line HOT 1
- Two keys gestures can be implemented in the MX3 profile, but adding the other 3 key doesn't work.
- One successful run with MX Master 3S and following failures
- MX Vertical: fwd button as gesture scroll HOT 1
- MX Master 3S with Bolt not detected HOT 8
- M720 freezes 30 sec after returning from suspend when in bluetooth mode HOT 2
- Won't compile HOT 2
- Hires scrolling is extremely fast HOT 2
- bluez-5.77 broke logiops HOT 15
- Mouse not initialized unless being moved
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logiops.