Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remap keyboard key to SCROLL DOWN or UP (or any other mouse event) #20993

Closed
sdrapha opened this issue Oct 3, 2022 · 7 comments
Closed

Remap keyboard key to SCROLL DOWN or UP (or any other mouse event) #20993

sdrapha opened this issue Oct 3, 2022 · 7 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@sdrapha
Copy link

sdrapha commented Oct 3, 2022

Description of the new feature / enhancement

[Keyboard Manager]
Feature request to remap a keyboard key to send the mouse events of SCROLL DOWN or UP.

I used to that using Autohotkey scripts, but it would be awesome to have that embed in Powertoys.

Scenario when this would be used?

I want to remap F1 to Scroll Down, and Alt+F1 to Scroll Up
So I can easily scroll everything without an awkward and painful gesture (carpal tunnel), especially in notebooks, but also useful on desktops.

As a bonus, since it's the same category, the ability to map a Keyboard key to send out the Middle Mouse button click , especially useful on notebooks missing that physical button on the trackpad.
I used to map that to Right Alt which is close to the trackpad (Also using Autohotkey scripts)

Supporting information

No response

@sdrapha sdrapha added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Oct 3, 2022
@Jay-o-Way
Copy link
Collaborator

AutoHotkey could do this without breaking a sweat!

@crutkas
Copy link
Member

crutkas commented Nov 25, 2022

/dup #1475

@ghost
Copy link

ghost commented Nov 25, 2022

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Nov 25, 2022
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Nov 25, 2022
@sdrapha
Copy link
Author

sdrapha commented Nov 25, 2022

@crutkas
Not really a duplicate, I saw that other issue, which has a different goal. That other issue is asking to remap the mouse buttons so they do different stuff, which would be an entirely new module for powertoys.

This one, I'm asking the other way around, the keyboard keys send mouse commands. We already have a keyboard remapper in place. it's just the commands that are missing.

@ajwhitman
Copy link

I am also interested in this feature, and I agree that this is not a duplicate issue - I don't want to remap anything on my mouse, but I would like the keyboard to be able to send standard mouse commands. While AutoHotKey is good and promising, it's not quite doing what I want - I have a script that partially works, but when I try to improve it I end up breaking things.

My keyboard has a "zoom" key that I want to remap to scroll (for ergonomics and because I don't zoom very much). But what this key is actually doing is sending LCtrl+- and LCtrl+= with one keystroke. I never use that shortcut, and would like to remap it to scroll up and down (including repeated scrolling on long press, which I haven't figured out how to make work in AHK).

Surely this must be possible with PowerToys?

@brandonwsaxe
Copy link

brandonwsaxe commented Jun 16, 2023

I, too, would like this capability. I have an AutoHotkey script that can do this, however, it does not work when connecting to remote desktops nor VMware Horizon VDI remote desktops. I assume it's because the Remote session software grabs the keyboard and 'owns' it so other hooks don't get fired. I tried MouseKeys. It works ok. I can live with it. Again, however, it does not have the ability to scroll. I need a mapping that works at the lowest level possible so that I can use the keyboard to navigate universally across tools. I am suffering massive RSI and found that using keyboard alone is alleviating much of my issues. PgUp and PgDown keys are not good enough as they move the cursor and aren't truly equivalent to scrolling. E.g. using PgUp and PgDown in Outlook doesn't scroll. I should be able to just hover over my email list and 'scroll' with the keyboard in this use case. Just like a mouse would.

I think this ticket should be reopened. I'm soooo close to having a keyboard-only setup working and this one is the remaining nagging pain point.

I've even used Gopher360 with the Xbox One controller for PC and it works for scrolling. What's interesting is that it also works in all the apps I've tried, even Remote Desktop software. I don't have any skill with driver code so I wouldn't be able to take the Gopher code and do something myself. But the Gopher code shows this should be doable.

@goyalyashpal
Copy link

goyalyashpal commented Nov 11, 2023

I'm asking the other way around, the keyboard keys send mouse commands. We already have a keyboard remapper in place. it's just the commands that are missing.
- @ sdrapha at #20993 (comment)

this one is probably the issue which he meant while closing this issue as a duplicate of:
[KBM] Remap Key to Mouse Click #3364

I'm soooo close to having a keyboard-only setup working and this one is the remaining nagging pain point.
- @ brandonwsaxe at #20993 (comment)

same and kudos for efforts

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

6 participants