diff options
author | ben <benjaminfranzke@googlemail.com> | 2010-07-23 02:52:14 +0200 |
---|---|---|
committer | ben <benjaminfranzke@googlemail.com> | 2010-07-23 02:53:37 +0200 |
commit | c8720596ea5f607d115f19c34d289fc661645cb1 (patch) | |
tree | 12898d141a77a465fa158a86ef27930cdd9587ec /src | |
parent | a6074983abb109d227e9236061f9208c5da21d22 (diff) | |
download | pa-sink-ctl-c8720596ea5f607d115f19c34d289fc661645cb1.tar.gz pa-sink-ctl-c8720596ea5f607d115f19c34d289fc661645cb1.tar.bz2 pa-sink-ctl-c8720596ea5f607d115f19c34d289fc661645cb1.zip |
add wasd + tab + x keymapping for left hand ctrl
Diffstat (limited to 'src')
-rw-r--r-- | src/interface.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c index c09a1ad..4410c36 100644 --- a/src/interface.c +++ b/src/interface.c @@ -183,6 +183,7 @@ void get_input(void) return; case 'k': + case 'w': case KEY_UP: if (chooser_input == -1 && chooser_sink > 0) { --chooser_sink; @@ -195,6 +196,7 @@ void get_input(void) break; case 'j': + case 's': case KEY_DOWN: if (chooser_input == ((gint)sink_list_get(chooser_sink)->input_list->len - 1) && chooser_sink < (gint)sink_list->len - 1) { ++chooser_sink; @@ -206,10 +208,12 @@ void get_input(void) break; case 'h': + case 'a': case KEY_LEFT: volume_increment = FALSE; /* fall through */ case 'l': + case 'd': case KEY_RIGHT: { struct tmp_t { guint32 index; @@ -253,7 +257,9 @@ void get_input(void) break; } + case 'm': + case 'x': case 'M': { struct tmp_t { guint32 index; @@ -283,6 +289,7 @@ void get_input(void) } case '\n': + case '\t': case ' ': if (chooser_input == -1) break; |