* Added 'j' as an alias for KEY_DOWN * Added 'k' as an alias for KEY_UP
Signed-off-by: Simon Hengel simon.hengel@gmx.net
diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c index 414033e..c65c22d 100644 --- a/alsamixer/alsamixer.c +++ b/alsamixer/alsamixer.c @@ -2113,11 +2113,13 @@ mixer_iteration (void) mixer_hscroll_delta -= 1; break; case KEY_UP: + case 'k': case 'w': case 'W': mixer_vscroll_delta -= 1; break; case KEY_DOWN: + case 'j': case 'x': case 'X': mixer_vscroll_delta += 1; @@ -2179,12 +2181,14 @@ mixer_iteration (void) break; case 'w': case KEY_UP: + case 'k': mixer_set_delta(1); case 'W': mixer_add_delta(1); break; case 'x': case KEY_DOWN: + case 'j': mixer_set_delta(-1); case 'X': mixer_add_delta(-1);