MrKai77 / Loop

Window management made elegant.
GNU General Public License v3.0
6.83k stars 136 forks source link

✨ Mouse gestures to trigger Loop #138

Open ankidoc opened 9 months ago

ankidoc commented 9 months ago

Feature Request Description

So since I was running into a problem with the function keys cmd, option and control, I was wondering if there will be implementation of normal shortcut at any point?

The problem at my place is that even with the box ticked for the option that I have to push town twice the key, the loop gets triggered when I have combinations like cmd + shift + space when cmd is the key that I assigned to trigger loop when pushed 2 times. I have a few shortcuts that involve the functions keys and almost every key has some 2 or 3 keybinding strokes. Why is loop getting triggered?

The reason for the above is, that I use better touch tools and I had the cool idea in mind that I can combine them. So I make a one finger force touchpad move and assign the same shortcut that triggers loop. Unfortunately at the moment there is no possiblity to only trigger a function key while pressing down on the track pad with force. So I was hoping that would solve the issue.

Screenshots

No response

Additional Context

No response

Final Checks

MrKai77 commented 9 months ago

Yep, the double clicking is a known bug in the latest release, and you can download a fixed version here: #127 (but I believe this build breaks all of Loop's previous keybindings).

This build should also have a "Hide until direction is chosen" toggle under the Radial Menu section of the settings window, which should help you combine this with BetterTouchTool.

Otherwise, just to make sure I understand correctly, you are hoping that a force-click on a trackpad could be used as a trigger for Loop?

ankidoc commented 9 months ago

Yep, the double clicking is a known bug in the latest release, and you can download a fixed version here: #127 (but I believe this build breaks all of Loop's previous keybindings).

This build should also have a "Hide until direction is chosen" toggle under the Radial Menu section of the settings window, which should help you combine this with BetterTouchTool.

Otherwise, just to make sure I understand correctly, you are hoping that a force-click on a trackpad could be used as a trigger for Loop?

exactly my point.

So just to understand (again, I'm not a coder and familiar with how git things work): There will be not one but more builds to serve different needs, or are these testbuilds and you just keep them up? because the feature of hiding until toggeling is awesome too. Commander and Charmstone are having this feature too. Why is it not in the newest version? :)

MrKai77 commented 9 months ago

These are just test builds (you can also think of them as alpha builds, which are potentially unstable) :) I just have these builds to make sure a feature works well (and is bug-free), before fully releasing it to the public. However, most of these features are already currently stable, so I am planning to release the next beta once I get #136 done!

ankidoc commented 9 months ago

since I don't know how github really works, is there something like a newsletter or auto E-Mail that can be send to me automatically, when there are new version available?

MrKai77 commented 9 months ago

As long as you have the repository starred, Loop's new releases should show up in your home page :)

Otherwise, Loop auto-checks for updates every few days so it should prompt you to update as well!

ankidoc commented 9 months ago

or maybe just lay 3 fingers down on the trackpad and then trigger it would be awesome if force touch won't work. Since I use bettertouchtools atm to swipe left and right with fingers to make it 50% window snapped to the sides, or force klick and then 25% window size in each corner, but that isn't working so good most of the time. With loops perfect mechanics that would be simply beautiful. But atm you can only trigger it via cmd, option or control shift function keys

MrKai77 commented 9 months ago

Alright, so based on what I've seen on Reddit, I think that instead of only implementing force-click and three-finger tap, implementing more mouse/trackpad gestures in general would make more sense.

I'm thinking that the user would be able to select how many fingers they put down on the trackpad, and then could select if it would need to be a force-click, or just a normal click, or a swipe (if I'm able to figure that out).

ankidoc commented 9 months ago

awesome!

ankidoc commented 8 months ago

any news on the 3 finger swipe trigger? I was hoping so strong that you would implement this since of the very fluid and responsive nature of loop.

MrKai77 commented 8 months ago

Yup! I have actually been working on this over the last few days, and I did get to a super-buggy (but working) state! I will continue working on it today as well. This is something I plan to include by the next release :)

norrir commented 6 months ago

Alright, so based on what I've seen on Reddit, I think that instead of only implementing force-click and three-finger tap, implementing more mouse/trackpad gestures in general would make more sense.

I'm thinking that the user would be able to select how many fingers they put down on the trackpad, and then could select if it would need to be a force-click, or just a normal click, or a swipe (if I'm able to figure that out).

Another method is to put down a certain number of fingers and then lifting a certain number of fingers to invoke loop followed by a directional swipe to the desired location. This would enable more customization.

Ex:

  1. put 3 fingers on trackpad
  2. lift up 2 fingers
  3. move the last finger anywhere
  4. lift up the last finger to determine the final positioning of the window
MrKai77 commented 6 months ago

@norrir That's a really interesting idea, never seen that anywhere before! I will totally consider it!

Implementing it would be much easier too, so that's a plus :D