Comments (9)
I'm using a Roccat Leadr, which doesn't allow mapping to F keys beyond 12, or to regional keys; instead it uses the ISO position of those keys. (These are among an extensive list of grievances). The Leadr has two buttons left of the left click. I use these for move and resize. These are not M4 and 5, as those are on the thumb rest. Though you can map any button to send M4 and M5, I didn't want to do that since I do use M4 and M5's functionality in the browser (though I have them mapped to the hat above the mouse wheel).
To avoid conflicts, I used the key remapper in PowerToys so I can use keys that aren't on ISO keyboards and therefore hopefully aren't listened for by anything other than AltSnap. Another possible solution is to launch an application which will type the obscure key combination for me, as launching arbitrary applications is supported by the mouse software. But this felt sluggish. Possibly my fault.
Because DInput allows 128 unique buttons, and can be made exclusively visible to only one application by the user, I thought it would be well suited for this. XInput doesn't have this flexibility, but it is the modern gamepad interface, so implementing DInput support in 2022 without acknowledging XInput would probably be odd. Further, XInput is the interface for the Microsoft Adaptive Controller, which is one of the most popular products for low tech custom inputs.
from altdrag.
for now only keys that generate a virtual key keyboard event can be mapped for hotkey. My fork also allows mouse buttons to be mapped as hotkeys, but it is for sure possible to use a program to re-map gamepad buttons to keyboard, I would suggest you take a look at AntiMicro
from altdrag.
I was hoping that by making it native D input, I'd reduce conflicts where the keyboard hotkey is taken by something else. My mouse doesn't allow mapping mouse buttons beyond M5, but it does allow X and Dinput (and keyboard) mapping. I was hoping to set a mouse button to drag and one to resize.
from altdrag.
If you want to use mouse Xbuttons to move/resize windows I sugget you try my fork, Stefan is no longer active in the development.
from altdrag.
If your mouse allows for keyboard mapping then you simply need to map the button you want to a right win for example.
Also the latst versions of my fork has some bugs if you combine MB4/5 to hotclicks+move/resize, I will fix it soon.
from altdrag.
from altdrag.
Thank you. I've switched to your fork. I wanted to use M6 and M7 rather than 4 and 5, but for now I have a workable solution with keyboard emulation.
from altdrag.
I think the details on your setup would be interesting to people.
from altdrag.
I am actually working in extending AltSnap to 9 buttons, as long as the buttons have been mapped to a key. It could be a key outside of the keyboard (ie F13 through F24) or even maybe keys that are marked unmapped in the MS doc. I will post an issue soon in my repo
from altdrag.
Related Issues (20)
- Suggestion: Scroll to adjust screen brightness
- Windows 11 start and other ui elements are able to be broken. HOT 2
- Add toggleable option for Alt + Shift window snapping HOT 2
- Instructions for dealing with DPI scaling on Windows 11 HOT 2
- Feature request: Add option to disable centre resizing. HOT 1
- Window movement lags when the window is partially off-screen HOT 2
- Pressing shift causes programs to lose mouse capture HOT 2
- [Feature request] - Hotkeys ? HOT 1
- Does anyone know? HOT 3
- WSL2 Windows only move the display, not the clickable area HOT 3
- Snaps any window HOT 2
- Any updates? HOT 1
- Finnish (fi-FI) HOT 2
- Ability to disable Ctrl screen imprisonment
- Add new functions?
- Link to website in About is invalid HOT 2
- Alt+Drag (probably falsley) detected as Malware on VirusTotal (2/75) HOT 1
- thank you for this project [not an issue] HOT 1
- Windows 23H2v2 conflict with Alt + TAB task switcher HOT 2
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 altdrag.