diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/inferno/man2/volume.2 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/inferno/man2/volume.2')
| -rw-r--r-- | static/inferno/man2/volume.2 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/static/inferno/man2/volume.2 b/static/inferno/man2/volume.2 new file mode 100644 index 00000000..58b5d61f --- /dev/null +++ b/static/inferno/man2/volume.2 @@ -0,0 +1,51 @@ +.TH VOLUME 2 mux +.SH NAME +volume \- volume control for an infrared interface +.SH SYNOPSIS +.EX +include "volume.m"; +vctl := load Volumectl Volumectl->PATH; + +volumectl: fn(ctxt: ref Draw->Context, ch: chan of int, + device: string); +.EE +.SH DESCRIPTION +.B Volumectl +should be spawned as a separate process from any process that desires volume control via an infrared interface. +.I Ctxt +provides +.B volumectl +with access to the display, +on which it displays a slider widget. +The slider automatically disappears after several seconds of inactivity. +.B Volumectl +receives input from the infrared controller on channel +.IR ch . +The values recognized are: +.TF Enter +.PD +.TP +.B VolUP +increase volume +.TP +.B VolDN +decrease volume +.TP +.B Enter +exit +.PP +.I Device +is a string used as a prefix to commands to the device; +for example +.B +"audio out" +.ft P +for +.IR audio (3). +.SH FILES +.B /dev/volume +.SH SOURCE +.B /appl/lib/volume.b +.SH "SEE ALSO" +.IR ir (2), +.IR prefab-intro (2) |
