HeadsetControlsPC

为 PC 提供 3.5mm 耳机线控支持。

GPL-3.0 License

Downloads
41
Stars
13
Committers
1

Headset Controls

PC 3.5mm

Python >= 3.6


TRRS PC

keyboard``numpy sounddevice

PyPI

PyPI

pip install trrsheadset

Clone

GitHub

bugPIP doesn't read setup.cfg in UTF-8, which causes UnicodeDecodeError Issue #8931 pypa/pip PYTHONUTF8=1

  • PowerShell: $env:PYTHONUTF8=1
  • Shell: export PYTHONUTF8=1
  • CMD: set PYTHONUTF8=1
pip install .

Python trrsheadset :

python -m trrsheadset []
  • ctrl+break
  • pythonw Python 3.x (Windowed)

-l or --log

--use-hotkey

-h or --help

& Python keyboard

| | | :----:|:--------------:|:-------------:|:-----------: A | / | / | B | + | | / C | - | | / D | / | / | /


  • --use-hotkey *

ctrl+shift+h 1s

p

e

shift ctrl

-l --log **** debug.log.1 debug.log BUG

python run.py -l

GPL-3.0 License