Skip to content

sciboy12/Abs-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Abs-C

Abs ported to C

Thanks to danil1petrov, who is the original creator of this port.

If you encounter any problems, please ask on the Discord or file an issue regarding it.

Setup and compilation

sudo apt install libinih-dev
cd (Wherever you saved Abs-C to)
make
sudo setcap cap_sys_nice=eip ./abs-c # used for low-latency input

Configuration

Place abs-c.ini into ~/.config/

Config options

Display

These need to match your current display resolution, in order for accurate scale calculations:

width

height

Custom Area

These values are relative to the center of the touchpad/screen and are measured in percent:

x_offset_pct: X Offset

x_scale_pct: X Scale

y_offset_pct: Y Offset

y_scale_pct: Y Scale

keep_ratio: Enable/Disable Input Ratio Compensation (Similar to "Keep aspect ratio" on monitors)

Input options

enable_buttons: enable Left Click on touchpads with a physical LMB

Launch options

-h, --help: Show the help message

-l, --list: List input devices with EV_ABS support

-d <arg>, --device <arg>: Specify device by path or name substring

Usage

If playing on osu!Lazer, disable High Precision Mouse (and Fullscreen/Confine mouse cursor to window, if on Wayland) within Lazer's settings.

Add your user to the input group (reboot afterwards):

sudo usermod –a –G input $(whoami)

Run with:

./abs-c

About

Use your touchpad or touchscreen stylus to play osu! (Stable/Lazer) on Linux (C version)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published