Skip to content

script that let's you use the PCPanel to control PulseAudio stuff

Notifications You must be signed in to change notification settings

taotien/PCPanel_Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

PCPanel Linux

This is a WIP utility to have your PCPanel control PulseAudio application and device volumes on Linux, written in Python.

I don't know how to use PA's API (if there is one), so instead this calls pactl to get application names and set volumes.

Haven't touched Python in a while, so excuse the nasty code.

How it works

What the knobs and buttons on the PCPanel do is simply spit out 3 bytes of raw data over HID, like:

01, 05, 87

1st byte: 01 = slider/knob; 02 = button

2nd byte: 00-04 = knobs; 05-08 = sliders

3rd byte: 00-FF = 256 values, or 00/01 for unpress/press of button

Depends

  • PulseAudio
  • hidapi

About

script that let's you use the PCPanel to control PulseAudio stuff

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages