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

Saints Row 1 extras #41

Merged

Conversation

Clippy95
Copy link

@Clippy95 Clippy95 commented Nov 9, 2024

  • Native mouse cursor to map cursor in-game [SR1]
  • Scroll wheel to weapon wheel [SR1]
  • Remove XThread check - improves mouse accuracy.

Changed cvar ge_menu_sensitivity to menu_sensitivity.

Sorry, something went wrong.

@Clippy95 Clippy95 marked this pull request as ready for review November 10, 2024 18:45
@marinesciencedude marinesciencedude merged commit 53a9bfb into marinesciencedude:mousehook Nov 11, 2024
3 checks passed
marinesciencedude pushed a commit that referenced this pull request Nov 11, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 11, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 11, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 14, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 14, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 17, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 19, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 23, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 27, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Dec 31, 2024
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 3, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 3, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 3, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 25, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 25, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 26, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Jan 29, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Feb 7, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Feb 7, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Feb 16, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Mar 1, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Mar 1, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
marinesciencedude pushed a commit that referenced this pull request Mar 1, 2025
* (SR1)Native mouse controls for map menu, includes scroll wheel.

* tie map cursor speed to zoom & fix typo for =in_map_screen to ==

* Scroll wheel / map_zoom, increase min zoom for map.

* 0.1 map zoom min

* Scroll wheel to Weapon wheel, fix map screen flag.

* Remove check for XThread, should fix mouse stuttering

* Proper degree_x implementation

* [SR2] Remove check for XThread in DoHooks, check XThread in reset_fineaim function to avoid a crash.

* DoHook if input_state.mouse

* Write 1/60 to havok address in case user starts game with input other than winkey.

* RS bindings

* Revert "Proper degree_x implementation"

This reverts commit c4467b7.

* Check if wheel_delta is active in ScrollWheel function

* SR2 bindings, Mouse5 to open wheel, Mouse5 to confirm / 4 to go back in menus.

* Check current thread in FixHavokFrameTime

---------

Co-authored-by: Clippy95 <[email protected]>
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

Successfully merging this pull request may close these issues.

None yet

2 participants