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

Build from source code #248

Open
TimurGuryev opened this issue Dec 3, 2024 · 3 comments
Open

Build from source code #248

TimurGuryev opened this issue Dec 3, 2024 · 3 comments

Comments

@TimurGuryev
Copy link

Hi!
When I build from source code and run installer.exe my mouse stops working after reboot (debug build X64; uninstaller.exe fixes).
Also file wrapper/input.h probably misses "#include <string>"

I want to contribute. What is the right way to build and debug driver?

@TimurGuryev
Copy link
Author

TimurGuryev commented Dec 3, 2024

Or maybe it would be easier if you implement feature by yourself)

Rawaccel now uses mouse speed as input.
I want rawaccel to use mouse distance offset from some point as input (similar to joystick).

In GUI it will probably be:

  1. Checkbox (feature enabled/disabled)
  2. TextBox for one number ("time to travel" or how much mouse offset is divided by to get input speed)
  3. TextBox for one number (minimal offset for mouse to move; otherwise it would be hard to use Windows)

I guess there will be some difficulties in implementing as your callbacks should be called not only on mouse movement but every x milliseconds too.

@JacobPalecki
Copy link
Collaborator

JacobPalecki commented Dec 3, 2024

Hello,

Multiple things here:

"wrapper/input.h probably misses "#include "
Yes, I have addressed this in my branch "userinterface" which includes UI overhaul for RA 2.0

"I want to contribute. What is the right way to build and debug driver?"
You are coming in at an interesting time. Right now the big thing that needs doing is taking userinterface branch from my repo and start cleaning up the UI.
As far as building and debugging driver, you will need:

You will then need to build the entire solution. Before running installer.exe and restarting, you need to make sure that testsigning is enabled, which may be as simple as running a bcdedit command or may require BIOS edits. (This is the step that I would guess you have missed.)

"I want rawaccel to use mouse distance offset from some point as input (similar to joystick)."
Your algorithm as stated does not make much sense to me. How does the user set the "center point"? What happens when the user picks the mouse up (which happens through natural motion all the time)? Why would it be hard to use windows without minimal offset - that would be a function of the curve, right?

@TimurGuryev
Copy link
Author

Thank you! It works with testsigning.

I used those links:

How does the user set the "center point"? What happens when the user picks the mouse up?

Center point is where mouse was when driver started (or when feature was enabled). Only way for user to change center point is to pick mouse up

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

2 participants