utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.36k stars 1.32k forks source link

Windows 10 for ARM mouse scroll inverted #2468

Closed tkreindler closed 7 months ago

tkreindler commented 3 years ago

Describe the issue Mouse scroll inverted in Windows 10 for ARM image. I've tried reversing the flip flop wheel entry in the registry but for some reason even that didn't work. Reproducible when using Logitech mouse connected via USB to MacBook Pro with M1.

Configuration

Upload VM Attatched as txt since plist isn't allowed. config.txt

yeetusdeletus69 commented 3 years ago

that's actually just how it is even in the real native bootcamp for intel Macs

Andrew-J-Larson commented 3 years ago

Describe the issue Mouse scroll inverted in Windows 10 for ARM image. I've tried reversing the flip flop wheel entry in the registry but for some reason even that didn't work. Reproducible when using Logitech mouse connected via USB to MacBook Pro with M1.

Configuration

  • UTM Version: 2.0.25
  • OS Version: Big Sur 11.2.3
  • Apple Silicon

Upload VM Attatched as txt since plist isn't allowed. config.txt

@tkreind That's the norm for Mac devices when using non-Mac mouse. There is no fix for that, other than changing the scroll settings within MacOS itself. https://www.wikihow.com/Change-the-Scroll-Direction-on-a-Mac#:~:text=To%20change%20the%20scroll%20direction%20for%20your%20Mac's%20trackpad%2C%20click,scroll%20direction%20on%20or%20off.

mreid-tt commented 3 years ago

Describe the issue Mouse scroll inverted in Windows 10 for ARM image. I've tried reversing the flip flop wheel entry in the registry but for some reason even that didn't work. Reproducible when using Logitech mouse connected via USB to MacBook Pro with M1.

Configuration

  • UTM Version: 2.0.25
  • OS Version: Big Sur 11.2.3
  • Apple Silicon

Upload VM Attatched as txt since plist isn't allowed. config.txt

Hi, I was able to change the direction of scroll with my Magic Trackpad using the registry change (https://www.windowscentral.com/how-reverse-scrolling-direction-windows-10). I noted that there were multiple mouse objects in the device manager for me. I just tried the first one and it worked. Did you have multiple objects as well? May be worth a look... I don't have a Logitech mouse connected so I can't replicate the issue on my end.

Configuration

JaiganeshKumaran commented 3 years ago

Flip flop wheel key does work for me but it only takes affect on restart?

mreid-tt commented 3 years ago

Flip flop wheel key does work for me but it only takes affect on restart?

Yes, that's correct. The last step in the instructions I was following called for a restart. After that the scroll direction was fixed for me.

jonathanbell commented 2 years ago

This does seem to be a bug in my opinion. I have "Scroll Direction: Natural" unchecked in Mac OS. This means that if I run two fingers down my trackpad a webpage will scroll down (not up, like the Mac OS default). Like other users, I tried editing the registry in Windows 11 in order to reverse the scrolling (to be the same behaviour as my Mac) but that didn't seem to do anything.

I can actually open Trackpad: System Preferences in Mac OS, uncheck the Natural scroll direction and go back to Windows and the mouse scroll wheel and trackpad both behave as I'd like. Re-checking the box in the Mac OS makes the direction in the reversed way for me on the Mac OS side of things, but then reverses the direction in Windows.

jonathanbell commented 2 years ago

Well gosh... Look what I just found in the settings of my virtual Windows machine... 😃

image

choiwilson commented 2 years ago

It works ... thanks

kimjansheden commented 2 years ago

Well gosh... Look what I just found in the settings of my virtual Windows machine... 😃

image

Hero!

rejetto commented 2 years ago

Same problem with UTM 4.0.3 on mac with m1, virtualizing Win11, but missing the "invert mouse scroll" option. I'm using the trackpad, actually, but even tried to attach a mouse to make the option show up but didn't work.

image

Also tried to change the "flip" entry in the regedit, restarted, and nothing changed.

mochaslave commented 1 year ago

Same problem with UTM 4.0.3 on mac with m1, virtualizing Win11, but missing the "invert mouse scroll" option. I'm using the trackpad, actually, but even tried to attach a mouse to make the option show up but didn't work. image

Also tried to change the "flip" entry in the regedit, restarted, and nothing changed.

I have the same problem, but after I read the source found out they move this setting to a global config.

CleanShot 2022-09-29 at 16 49 14

ZaphodBeeblebroxSr commented 1 year ago

Well gosh... Look what I just found in the settings of my virtual Windows machine... 😃

image

This is great! BUT it isn't obvious if you're not familiar with UTM. Is UTM not able to read my macos settings? If so, then this is understandable. If it can see my macos trackpad is set to "normal" or as Apple calls it "uncheck Natural", it should default to what it's been since forever, Down being Down, and Up being Up, or at the very least ASK which I want if my setting is changed.

mochaslave commented 1 year ago

Well gosh... Look what I just found in the settings of my virtual Windows machine... 😃

image

This is great! BUT it isn't obvious if you're not familiar with UTM. Is UTM not able to read my macos settings? If so, then this is understandable. If it can see my macos trackpad is set to "normal" or as Apple calls it "uncheck Natural", it should default to what it's been since forever, Down being Down, and Up being Up, or at the very least ASK which I want if my setting is changed.

Mate, I'm not in the development cycle as you seem. It's an obviously less documented problem for users. But considering its beta version, you only can find the clue yourself in the source code. ;)

ZaphodBeeblebroxSr commented 1 year ago

Well gosh... Look what I just found in the settings of my virtual Windows machine... 😃

image

This is great! BUT it isn't obvious if you're not familiar with UTM. Is UTM not able to read my macos settings? If so, then this is understandable. If it can see my macos trackpad is set to "normal" or as Apple calls it "uncheck Natural", it should default to what it's been since forever, Down being Down, and Up being Up, or at the very least ASK which I want if my setting is changed.

Mate, I'm not in the development cycle as you seem. It's an obviously less documented problem for users. But considering its beta version, you only can find the clue yourself in the source code. ;)

Didn't see anywhere else to mention this to them so I figured I'd add that here. Apologies if it pinged you unnecessarily, I just didn't want to create a whole new thread for it either.

jk779 commented 1 year ago

i've almost thrown my mac out of the window after 2 hours of figuring this out while manipulating the registry over and over in windows 11. this setting is so unintuitively hidden in 4.x, i wonder why it has been (all of a sudden) moved to the global settings?!

edwinjhlee commented 9 months ago

Same problem with UTM 4.0.3 on mac with m1, virtualizing Win11, but missing the "invert mouse scroll" option. I'm using the trackpad, actually, but even tried to attach a mouse to make the option show up but didn't work. image Also tried to change the "flip" entry in the regedit, restarted, and nothing changed.

I have the same problem, but after I read the source found out they move this setting to a global config.

CleanShot 2022-09-29 at 16 49 14

The invert scrolling problem drive me crazy, until I found the solution here. Thank you. You save my days, bro. @mochaslave

It is a very common problem. Put it into documentation or even make it as default setting might greatly help improve user experience.

hao-lee commented 9 months ago

after I read the source found out they move this setting to a global config.

@mochaslave Thanks! Save my life!!!

vandrieu commented 7 months ago

As a user switching VMs regularly, I see this global parameter as a regression compared to the old vm-wise parameter.

Worko98 commented 7 months ago

Same problem with UTM 4.0.3 on mac with m1, virtualizing Win11, but missing the "invert mouse scroll" option. I'm using the trackpad, actually, but even tried to attach a mouse to make the option show up but didn't work. image Also tried to change the "flip" entry in the regedit, restarted, and nothing changed.

I have the same problem, but after I read the source found out they move this setting to a global config.

CleanShot 2022-09-29 at 16 49 14

After almost 2 years, I should thank you for this. Save my days.

tkreindler commented 7 months ago

I haven't personally verified since I don't use a Mac anymore but it sounds like this is fixed, closing it out

ZaphodBeeblebroxSr commented 7 months ago

I haven't personally verified since I don't use a Mac anymore but it sounds like this is fixed, closing it out

I'm not sure if it's "FIXED", more like there's a workaround. It feels like Apple flipped the scroll direction, then a UTM dev added a setting to invert it again by default. It should either be a more obvious button, or just copy the OS' setting IMHO. But you guys do you.

DrewMerkle commented 1 week ago

Thank you to the people commenting here for solving a very annoying headache for me. I'll add my voice as just one more person agreeing that it would be better if UTM set scrolling direction to default to whatever the Mac user prefers, with the option to change that both globally and per VM. Respectfully submitted.