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

The mod doesn't seem to work #1

Open
Equbuxu opened this issue Apr 22, 2020 · 12 comments
Open

The mod doesn't seem to work #1

Equbuxu opened this issue Apr 22, 2020 · 12 comments

Comments

@Equbuxu
Copy link

Equbuxu commented Apr 22, 2020

I tried changing mouse sensitivity and doing /rescan but no matter what I can't rotate camera in game

@Equbuxu
Copy link
Author

Equbuxu commented Apr 22, 2020

Apparently disabling enhanced pointer precision in windows settings makes it work, but the input is very delayed. It could be because my mouse has a report rate of 1000hz

@xCuri0
Copy link
Owner

xCuri0 commented Apr 23, 2020

Can you tell computer specs and operating system ?

I'm using this on my laptop running Windows 10 and Minecraft 1.8.9 and it works. My mouse is also 1000hz (G402)

@Equbuxu
Copy link
Author

Equbuxu commented Apr 23, 2020

I'm running windows 10 (1903) with ryzen 2700, gtx 1050 ti and 16 gb of ram. My mouse is bloody v8m.

Also, I've just tried running it again and now it doesn't work even with enhanced pointer precision disabled so it might not be related. I also tried loading it both with and without optifine using both multimc and the official launcher, none of this made a difference

@xCuri0
Copy link
Owner

xCuri0 commented Apr 23, 2020

Do you have any other input devices connected to your computer ? This mod works by scanning all input devices and then using the one moves first so it could be detecting something else. I have to use this method due to how the library used by Minecraft works

@Equbuxu
Copy link
Author

Equbuxu commented Apr 23, 2020

I have a drawing tablet connected but disconnecting it makes no effect.

I ended up building the mod myself and so far I see two issues:

  1. getControllers() (RawInput.java, line 50) function call logs multiple exceptions like
    INFO: Failed to initialize device Pentablet HID because of: java.io.IOException: Failed to acquire device (8007001e)
    Pentablet HID is my tablet (which is disconnected). The function still returns a list of devices
    so this is not the main issue.
  2. The code fails to detect mouse movement most of the time. The while loop keeps running for minutes failing to detect any movement (and keeps spamming the console with exceptions) even though I'm clearly moving my mouse. Sometimes after looping for minutes (sometimes hours) it finally detects the device correctly and it starts working. The input is still delayed, or more precisely it feels like it's not being processed fast enough. When I start moving my mouse the camera starts rotating immediately, but soon after that it starts to lag behind and by the time I have stopped moving my mouse it still moves

@xCuri0
Copy link
Owner

xCuri0 commented Apr 27, 2020

@bystack have you tried opening Minecraft while not interacting with any other programs ? I have the same issue sometimes and that seems to be the cause of it

@aidanhasaknife
Copy link

i'm having the exact same issue, moving the mouse does nothing even after /rescan

@xCuri0
Copy link
Owner

xCuri0 commented Jun 23, 2020

@Aidan-Lineberry try reconnecting your mouse. i know this mod is really buggy but theres nothing i can about it as this is the only way to get raw input with the libraries included with minecraft.

@Enovale
Copy link

Enovale commented Nov 28, 2020

Not to sound like an ass, but have you tried seeing if you can embed and include other input libraries into your mod to add true raw input support? For example: https://forums.minecraftforge.net/topic/69903-1122-how-to-include-libraries-jar-files-in-a-build/
https://www.reddit.com/r/feedthebeast/comments/binrr5/how_can_you_add_additional_libraries_to_your/

@Enovale
Copy link

Enovale commented Nov 28, 2020

@ElijahZAwesome (i sent you a BAT :)

I don't know what you mean by this

@vichvich4444
Copy link

vichvich4444 commented Dec 7, 2020

Same exact problem here. Can't rotate camera in game.
1.12 version doesn't work, but 1.8.9 works.

@CAG2Mark
Copy link

Should be resolved in my pull request, see #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants