Giter Club home page Giter Club logo

Comments (4)

RamonUnch avatar RamonUnch commented on July 20, 2024

But there also isn't an option to make them regular button 4/5

Maybe it is named next/previous page instead of button 4/5 inside the software (like in the case of my Zealot12 mouse.
anyway if you are able to bind a mouse button to a keyboard key that you have no use for, you can then add the said vKey code to the XXbutton list, and it will map to MB6,7 etc...
Look at the wiki for more details.
https://github.com/RamonUnch/AltSnap/wiki#use-more-than-five-mouse-buttons

from altsnap.

shodanx2 avatar shodanx2 commented on July 20, 2024

Hi,

I tried making this work some more.

I was mistaken, I thought that the Alt-snap keyboard shortcut all needed "alt" to enable alt-snap action override, but it needs to be added to the keyboard shortcut

First here is how my mouse is configured

2023-11-19 17_57_22-Logi Options+

For test, I tried to setup AltSnap as follows

2023-11-19 18_03_04-_new 15 - Notepad++

I click save, I click apply, I click ok

Then I re-open AltSnap configuration window

2023-11-19 18_04_13-_new 15 - Notepad++

But the changes don't seem to stick

I tried "clear key", save, ok , then I close AltSnap

2023-11-19 18_07_32-

2023-11-19 18_07_14-_new 15 - Notepad++

But the key is still bound, I think this is what confused me earlier

2023-11-19 18_08_30-_new 15 - Notepad++

In this current configuration, (what I believe is) "mouse 4" does do the action "roll/unroll window" with no modifier key

2023-11-19 18_10_19-Logi Options+

My end goal for now, make Alt-mouse-4 do window maximize of the pointed window, (plain mouse 4 should still do ctrl+pageup).

So basically, I want the regular Alt-right-click behaviour on my Mouse 4 button, this is because I want alt-right-click to do the same action as titlebar-drag-right-click which for me is "enable fancyzones"

from altsnap.

RamonUnch avatar RamonUnch commented on July 20, 2024

My end goal for now, make Alt-mouse-4 do window maximize of the pointed window, (plain mouse 4 should still do ctrl+pageup).

If Mouse 4 is Ctrl+PageUp, then Alt+Mouse 4 should be Ctrl+Alt+PageUp that you can bind to the said action?

So basically, I want the regular Alt-right-click behaviour on my Mouse 4 button, this is because I want alt-right-click to do the same action as titlebar-drag-right-click which for me is "enable fancyzones"

I am not sure I understand what you want to do. AltSnap cannot trigger FancyZone because FancyZone hooks the window event and needs a real click inside the titlebar in order to snap it the window. AltSnap does not generate this kind of click.

AltSnap cannot see the difference between keys that come from your mouse and your keyboard. So if you set MB4=Ctrl+PageUp and setup AltSnap to use Ctrl+PageUp shortcut, then the shortcut will always be used by AltSnap, overriding all application specific shortcuts.

If you want to trigger AltSnap movement with MB4 you need to map MB4 to something else than a keyboard shortcut, because you cannot start/end AltSnap movement with a shortcut. You need in this case to map MB4 to a simple key that will generate a vKcode on press and on release.

Whereas if you bind MB4 to Ctrl+PageUp, it will generate instantly keys press and releases on MB4.down, without generating anything on MB4.up.

from altsnap.

shodanx2 avatar shodanx2 commented on July 20, 2024

Hello,

I have badly asked this question, I will reformulate in a new issue later.

I now use Xmousebuttoncontrol in conjunction with AltSnap as Xmousebuttoncontrol as per-application button remapping.

They are great complements in my opinion.

However Xmousebuttoncontrol is proprietary so I will try to switch to Ymousebuttoncontrol eventually

from altsnap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.