ptt-fix

command module
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 20 Imported by: 0

README

ptt-fix

This program provides a simple workaround to the problem of push-to-talk in Wayland. It is based on a C++ implementation by Rush, but adds features such as the ability to listen to multiple devices simultaneously and the ability to choose the keys involved at runtime.

Installation

If you are on Arch Linux, ptt-fix is available from the AUR as ptt-fix.

To install manually, you will need libxdo installed. Then, simply run

$ go install deedles.dev/ptt-fix@latest

A manual installation of this kind will need to be run as root as regular users don't normally, and shouldn't, have read access to the devices in /dev/input.

Usage

The default config uses left alt for push-to-talk, waits 10 seconds before retrying a device that wasn't working, and uses all devices that it finds in /dev/input/by-id/. If you would like to modify these settings, first run ptt-fix -createconfig. This will write the default config to a file, probably $HOME/.config/ptt-fix/config and print the path to that file. The file has lots of comments, so simply open it in the text editor of your choice and modify it however you would like.

Donate

Buy Me A Coffee

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
xdo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL