alsa-utils/alsamixer
braph 6e9e84ba60 alsamixer: Replaced hardcoded keys by binding arrays
This commit is a preparation for making keybindings configurable.

The hardcoded keys in the switch statements of mixer_widget.c,
textbox.c, proc_files.c and card_select.c have been replaced by
command enums. The command that shall be executed is looked up in
the arrays `mixer_bindings` and `textbox_bindings`.

The channel_mask enum has been made public, since LEFT and RIGHT are
used as command arguments in bindings.c.

Signed-off-by: Benjamin Abendroth <braph93@gmx.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-07-01 16:10:35 +02:00
..
alsamixer.1 amixer, alsamixer: Add description of volume-mapping 2012-03-19 16:05:06 +01:00
bindings.c alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
bindings.h alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
card_select.c alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
card_select.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
cli.c Avoid empty initializer list 2020-02-10 12:39:43 +01:00
colors.c alsamixer: remove obsolete e-mail 2010-11-10 10:14:53 +01:00
colors.h alsamixer - Tricolorize volume bars 2009-06-18 14:42:28 +02:00
device_name.c alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
device_name.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
die.c alsamixer: Fix X-win related crash for PulseAudio plugin (bad linking) 2011-11-02 17:27:47 +01:00
die.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
go amixer/alsamixer - updated go scripts for debugging 2007-07-11 10:12:24 +02:00
mainloop.c alsamixer: fix gcc warnings 2018-10-14 17:05:22 +02:00
mainloop.h alsamixer: Fix X-win related crash for PulseAudio plugin (bad linking) 2011-11-02 17:27:47 +01:00
Makefile.am alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
mem.c alsamixer: fix gcc warnings 2018-10-14 17:05:22 +02:00
mem.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
mixer_controls.c alsamixer: fix gcc warnings 2018-10-14 17:05:22 +02:00
mixer_controls.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
mixer_display.c alsamixer: fix handling of removed controls 2012-10-19 12:16:33 +02:00
mixer_display.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
mixer_widget.c alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
mixer_widget.h alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
proc_files.c alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
proc_files.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
textbox.c alsamixer: Replaced hardcoded keys by binding arrays 2020-07-01 16:10:35 +02:00
textbox.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
utils.c alsamixer: suppress _XOPEN_SOURCE compile warning 2020-06-05 08:26:30 +02:00
utils.h alsamixer: show channel names for multichannel controls 2009-05-25 10:26:22 +02:00
volume_mapping.c alsamixer: Remove exp10 usage 2019-09-03 12:17:41 +02:00
volume_mapping.h alsamixer: use cubic scale for volume bars 2010-12-06 14:07:48 +01:00
widget.c alsamixer: Fix window_size_changed() 2020-07-01 16:10:35 +02:00
widget.h alsamixer: fix gcc warnings 2018-10-14 17:05:22 +02:00