MacOS Input Fixes

MacOS Input Fixes

969k Downloads

Look into using raw input APIs for mouse input

Mr-Aerod opened this issue ยท 4 comments

commented

As a former windows user, I find this extremely annoying when playing Minecraft, I use this mod and I think this could be a part of it too. I'll try to explain this as best as I can, hope you'll get what I mean by this:
When you move your mouse over the table in a same set distance once by moving it fast and once by moving it slow, the cursor should move in the same distance on the screen first slowly, then fast, but the distance it moves should always stay the same.
However, there is this thing on a Mac which makes it that the slower you move the mouse, the shorter distance the cursor passes on the screen, the quicker you move it, the longer distance the cursor moves by when it should be the same distance.

While this is not really a bug, I am desperately trying to find a solution for this. I don't really mind it anywhere else, I only find annoying when I play Minecraft and I am used to the non-adaptive sensitivity or whatever I should call this. Please, I would really appreciate if this was added to the mod. It could be a config option or something, I would really appreciate it

commented

Hi, I think you mean mouse acceleration. Unfortunately, many developers didn't care about Mac users and didn't support the raw input feature introduced in the apple game controller api. There is a mod for 1.8.9/1.12.2 to support raw input (originally developed for windows) that uses jinput, and jinput also supports raw input on mac os. If you want to try it, download it and remember to enable input monitoring in "Privacy & Security" for the launcher so that jinput has access to raw mouse/trackpad data.
image
Unfortunately, I'm not a programmer and I don't know java, but I'm on vacation right now, so when I can I'll try to watch some tutorials and try to couple these 2 mods.

commented

Thanks for sharing the link to that API, I've been busy this week so haven't had a chance to really look into this yet, but I'm interested in adding this feature.

(I've edited your comment as this is supposed to be a safe community, I'm sorry for what's happening, but this is not the place to bring up subjects like the one I've removed.)

commented

There is a new setting in macos sonoma under Settings/Mouse/Advanced/Pointer Acceleration.
image