Rawaccel Convert
October 10, 2025 ยท View on GitHub
Tool for converting rawaccel curve settings to points. GUI version: Rawaccel Convert GUI.
CLI
rawaccel_convert CURVE_TYPE [OPTIONS]...
Filling all arguments is not required. Some curves conditionally change what they use based on other variables (ex: the Cap Type).
Warning
There is nearly zero input validation for both args and values. If you get a curve that doesn't make sense, check that you haven't made a typo. Visualizing your inputs with the Rawaccel Convert GUI may also help.
Global Args
These args apply regardless of the curve type you select.
-
--pointscaling(Default:sens):sens,velocity,libinput,libinputdebug,lookupvelocity, orlookupsens.Rawaccel's first graph uses
sens, the second graph usesvelocity.Libinput uses
libinput. Libinput custom accel curve setup.To output libinput values matching the format of
velocityuselibinputdebug. The output oflibinputdebugcannot be used in libinput directly.The
lookupvelocityoption outputs in the format of rawaccel's Look Up Table curve with the velocity setting.The
lookupsensoption outputs in the format of rawaccel's Look Up Table curve with the sens setting. -
--pointcount(Default:64): The number of points to include in the output.The maximum points libinput allows is
64. -
--dpi(Default:1200): Your mouse DPI. Controls the max input speed to calculate for. -
--sens(Default:1): TheSens Multiplierfield in rawaccel. -
--gain(Default:true):trueorfalse. TheGaincheckbox in rawaccel.
Curve types
Linear
-
--accel(Default:0.005) TheAccelerationfield in rawaccel. -
--captype(Default:output)output,input, orboth. TheCap Typefield in rawaccel. -
--capin(Default:15) TheCap: Inputfield in rawaccel. -
--capout(Default:1.5) TheCap: Outputfield in rawaccel. -
--offsetin(Default:0) TheInput Offsetfield in rawaccel.
Classic
-
--accel(Default:0.005) TheAccelerationfield in rawaccel. -
--captype(Default:output)output,input, orboth. TheCap Typefield in rawaccel. -
--capin(Default:15) TheCap: Inputfield in rawaccel. -
--capout(Default:1.5) TheCap: Outputfield in rawaccel. -
--offsetin(Default:0) TheInput Offsetfield in rawaccel. -
--power(Default:2) ThePowerfield in rawaccel.
Jump
-
--smooth(Default:0.5) TheSmoothfield in rawaccel. -
--input(Default:15) TheInputfield in rawaccel. -
--output(Default:1.5) TheOutputfield in rawaccel.
Natural
-
--decay(Default:0.1) TheDecay Ratefield in rawaccel. -
--offsetin(Default:0) TheInput Offsetfield in rawaccel. -
--limit(Default:1.5) TheLimitfield in rawaccel.
Synchronous
-
--gamma(Default:1) TheGammafield in rawaccel. -
--smooth(Default:0.5) TheSmoothfield in rawaccel. -
--motivity(Default:1.5) TheMotivityfield in rawaccel. -
--syncspeed(Default:5) TheSyncSpeedfield in rawaccel.
Motivity
Note: Motivity has been superceded by Synchronous
-
--growthrate(Default:1) TheGrowth Ratefield in rawaccel. -
--motivity(Default:1.5) TheMotivityfield in rawaccel. -
--midpoint(Default:5) TheMidpointfield in rawaccel.
Power
-
--scale(Default:1) TheScalefield in rawaccel. -
--captype(Default:output)output,input, orboth. TheCap Typefield in rawaccel. -
--capin(Default:15) TheCap: Inputfield in rawaccel. -
--capout(Default:1.5) TheCap: Outputfield in rawaccel. -
--exponent(Default:0.05) TheExponentfield in rawaccel. -
--offsetout(Default:0) TheOutput Offsetfield in rawaccel.
Lookup
-
--points(Default:) TheLook Up Tabletext box in rawaccel. Split X/Y axis accel is not supported.Do not include whitespace in your list of points.
You may need to wrap the points in quotes to avoid some shells interpreting
;as a command.Example:
--points="1.505035,0.85549892;4.375,3.30972978;13.51,15.17478447;140,354.7026875;" -
--applyas(Default:sens)sensorvelocity. TheApply asfield in rawaccel.
Examples
rawaccel_convert classic --sens=0.25 --accel=0.0315 --captype=input --capin=34 --power=2.5 --dpi=1600
For Developers
Rawaccel Convert doubles as a crate that can be added as a dependency to your Rust projects.
This project is zero-depenency and only requires the Rust std and core language features. Because of this, it will barely add any extra compile time to your project.
Due to it not being published on crates.io, adding the crate is a little different from most. Simply add the git repo and commit hash to your Cargo.toml.
Basic docs are available here.
Examples
Replace COMMIT_HASH_GOES_HERE with the commit hash you wish to use.
[dependencies]
rawaccel_convert = { git = "https://github.com/Kuuuube/rawaccel_convert.git", rev = "COMMIT_HASH_GOES_HERE" }
For example, to use version 0.1.3 the commit hash is 1b090cb684fc47d211ef5c6d1985572fb338ebc9:
[dependencies]
rawaccel_convert = { git = "https://github.com/Kuuuube/rawaccel_convert.git", rev = "1b090cb684fc47d211ef5c6d1985572fb338ebc9" }
To see a working project that uses rawaccel_convert as a dependency, check out Rawaccel Convert GUI.