Smooth precision Drag scroll

Thank you for making such a great little USB assistance device! I have been able to map a Cursor X to V scroll drag scroll which is smooth using a scale of -0.001 which is the lowest value allowed. It still sometimes scrolls too fast. From searching through the forums I have been trying three methods to decrease the V scroll rate which work, but are no longer smooth.

The first method is storing the Cursor X value in Register 1 with a scaling factor such as 0.5.

The second method uses an expression to modify the Cursor X value then storing a modified value in Register 1, which is used as the input for V scroll.

Expression1: 0x00010030 input_state 0.5 mul 1 store

I am only allowed one image per post. Image in second post.

The third method is using the expression directly as the input for the V scroll output.

Expression 1: 0x00010030 input_state 0.5 mul

Image in third post.

Is there any other method I have not tried which would allow smooth precision scrolling?

I have the Adafruit RP2040.

Does the RP2350A allow a smaller scaling factor such as 0.0001?

Thank you in advance for any advice!

The second method uses an expression to modify the Cursor X value then storing a modified value in Register 1, which is used as the input for V scroll.

Expression1: 0x00010030 input_state 0.5 mul 1 store

The third method is using the expression directly as the input for the V scroll output.

Expression 1: 0x00010030 input_state 0.5 mul

You could try using an LLM to help tweak your expression code. Just give it the documentation on how expressions work (https://raw.githubusercontent.com/jfedor2/hid-remapper/refs/heads/master/EXPRESSIONS.md), your current expression code, and what you want to optimize.

I actually made pretty good progress on mine using Codex (ChatGPT). I’d guess Gemini or Claude could come up with something solid as well.