Skip to content

ackledotdev/tpnoisie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tpnoisie

Make the ThinkPad TrackPoint make noises

Functionality

The program reads the TrackPoint displacement data from the provided device file (e.g., /dev/input/eventX) and generates sound based on the movement intensity. libinput is used to read the input events. Compiling may require libinput-devel or equivalent.

Installation & Usage

Pre-requisites: Rust and libinput-devel or equivalent installed, and sounds configured as follows:

Some directory /path/to/wavsounds/ containing 10 WAV files named exactly {0..9}.wav representing increasing intensity levels.

# libinput-devel or similar may be required
cargo install --git https://github.com/ackledotdev/tpnoisie.git
tpnoisie # find TrackPoint, trackpad, or other pointer device location (e.g. /dev/input/eventX)
tpnoisie /dev/input/eventX /path/to/wavsounds/

Systemd Service

A systemd user unit file is provided in tpnoisie.service. It should be copied to ~/.config/systemd/user/tpnoisie.service. You may need to adjust the ExecStart path, device path, and sound directory.

systemctl --user enable --now tpnoisie.service

About

Make the ThinkPad TrackPoint make noises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages