Skip to content

New extension: Wheel Scroll - #1122

Closed
DDen4ik-12 wants to merge 43 commits into
TurboWarp:masterfrom
DDen4ik-12:master
Closed

New extension: Wheel Scroll#1122
DDen4ik-12 wants to merge 43 commits into
TurboWarp:masterfrom
DDen4ik-12:master

Conversation

@DDen4ik-12

@DDen4ik-12 DDen4ik-12 commented Nov 1, 2023

Copy link
Copy Markdown

WheelScroll
I created the "Wheel Scroll" extension. It has two event blocks that are runs scripts when the mouse wheel is scrolled.

Blocks

When mouse wheel scrolls whenScroll

whenScroll
This event block runs scripts when the mouse wheel is scrolls in any direction.

When mouse wheel scrolls [SCROLL_TYPE] whenScrollDir

whenScrollDir
This event block runs scripts when the mouse wheel scrolls in the specified direction.
This block has a SCROLL_TYPE list with direction types:

  • up
  • down
  • to the left
  • to the right
  • out
  • in
  • along the x-axis
  • along the y-axis
  • along the z-axis

@CST1229

CST1229 commented Nov 1, 2023

Copy link
Copy Markdown
Collaborator

This could probably be put in Sensing+.

@CubesterYT

Copy link
Copy Markdown
Member

Is wheel intentionally mispelled everywhere?

@DDen4ik-12 DDen4ik-12 changed the title Add "Whell Scroll" extension Add "Wheel Scroll" extension Nov 1, 2023
@DDen4ik-12

Copy link
Copy Markdown
Author

Is wheel intentionally mispelled everywhere?

In this word, I'm confusing the letter that needs to be written twice.

@GarboMuffin GarboMuffin changed the title Add "Wheel Scroll" extension New extension: Wheel Scroll May 10, 2024
@DDen4ik-12 DDen4ik-12 closed this Jun 25, 2024
@yuri-kiss

This comment was marked as abuse.

@DNin01

DNin01 commented Jan 29, 2025

Copy link
Copy Markdown
Collaborator

Delta values should probably be accumulated so that if the user scrolls quickly, no data is lost.

In other words, add up the delta values from all the scroll events since the past frame. That way, if the user scrolls down 90 times per second, that is properly recognized by the project as 3 scrolls per frame (at 30 FPS). The buffer can be reset between each frame.

- deltaX = e.deltaX;
- deltaY = e.deltaY;
- deltaZ = e.deltaZ;
+ deltaX += e.deltaX;
+ deltaY += e.deltaY;
+ deltaZ += e.deltaZ;

@GarboMuffin

Copy link
Copy Markdown
Member

GitHub won't show me the dismiss review button because there's merge conflicts so I had to press the rerequest button instead. Don't read into it

@DNin01
DNin01 dismissed CubesterYT’s stale review November 18, 2025 00:08

Review is stale.

@DDen4ik-12

Copy link
Copy Markdown
Author

Delta values should probably be accumulated so that if the user scrolls quickly, no data is lost. ...

It fixed in this update (v1.3)

@CubesterYT CubesterYT self-assigned this Nov 19, 2025
@Brackets-Coder

Copy link
Copy Markdown
Contributor

Looks like this PR hasn't been worked on in a few months. @DDen4ik-12 would you like to consider collaborating on #2104?

@DDen4ik-12

Copy link
Copy Markdown
Author

Looks like this PR hasn't been worked on in a few months. @DDen4ik-12 would you like to consider collaborating on #2104?

I will say that I am not against collaborating with the creator of that pull request. We just need to come to an agreement with him on how to combine our two extensions...

@Brackets-Coder

Copy link
Copy Markdown
Contributor

I will say that I am not against collaborating with the creator of that pull request. We just need to come to an agreement with him on how to combine our two extensions...

Okay

@DDen4ik-12
DDen4ik-12 requested a review from a team as a code owner May 17, 2026 11:01
@DDen4ik-12

Copy link
Copy Markdown
Author
WheelScroll

New extension banner

@Brackets-Coder

Copy link
Copy Markdown
Contributor

Like the banner, still would request that you and @LegoBrainBiker collab if you're up for it

@DDen4ik-12

Copy link
Copy Markdown
Author

Like the banner, still would request that you and @LegoBrainBiker collab if you're up for it

I'm working on it right now. I've updated the banner because I updated it in another gallery

@Brackets-Coder

Copy link
Copy Markdown
Contributor

Like the banner, still would request that you and @LegoBrainBiker collab if you're up for it

I'm working on it right now. I've updated the banner because I updated it in another gallery

Nice

@SnabShiferV2

Copy link
Copy Markdown

How can i download this extention?

@SharkPool-SP

Copy link
Copy Markdown
Collaborator

Closing in favor of this PR, it has more features, and in reference to #2271, there has been no interactions of collaboration between the PRs.

The other PR is additionally more polished.

@DDen4ik-12

Copy link
Copy Markdown
Author

@SharkPool-SP, okay, but just for the note: there was a collaboration with that PR:
LegoBrainBiker#1

@SharkPool-SP

Copy link
Copy Markdown
Collaborator

oh okay 👍

@Brackets-Coder

Copy link
Copy Markdown
Contributor

@DDen4ik-12 even if there was collaboration (which we encourage) your changes were merged into LegoBrainBiker's extension anyway and your credit was added in the header metadata, so this can still be closed. Thanks for understanding.

@LegoBrainBiker

Copy link
Copy Markdown
Contributor

can I use your banner as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new extension Pull requests that add a new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants