From 8feefa78118cdfe9a98198786a0315053dc098a1 Mon Sep 17 00:00:00 2001 From: Florrie Date: Wed, 17 Apr 2019 10:40:56 -0300 Subject: Rework input system, support number pad Also changed focus main/queue listings to [ and ], so that we can use the 2 key for the down arrow on a number pad. --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d66a65b..1d444b0 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ You're also welcome to share any ideas, suggestions, and questions through there * Up and Down - select previous or next item in a listing * Tab and Shift+Tab - switch between UI elements * g and G (shift+G) - move to the first and last item in a listing -* 1 - focus the main track/group listing -* 2 - focus the queue listing +* [ - focus the main track/group listing +* ] - focus the queue listing * Enter - play the selected track * Shift+Up or p - play previous track * Shift+Down or n - play next track @@ -37,6 +37,7 @@ You're also welcome to share any ideas, suggestions, and questions through there * l - toggle track loop * Right - seek ahead * Left - seek back +* m or f - open a menu of actions related to the selected track or group * v and V - increase and decrease playback volume * Ctrl+F or / - jump to a track or group by entering (part of) its name * Ctrl+O - open a playlist from a source (like a /path/to/a/folder or a YouTube playlist URL) (you can also just pass this source to `mtui`) @@ -46,7 +47,6 @@ You're also welcome to share any ideas, suggestions, and questions through there * **In the main listing:** * Enter - if the selected item is a group, enter it; if it's a track, play it * Backspace - leave the current group (if in one) - * m or f - open a menu of actions related to the selected track or group * q - queue the selected track or group to play after any other items in the queue (usually after the current track) * Q (shift+Q) - queue the selected track or group to play immediately after what's currently playing * d - download the selected track (but don't play it) @@ -62,3 +62,12 @@ You're also welcome to share any ideas, suggestions, and questions through there * All the usual controls (up, down, tab, space, enter) work * Backspace or Escape - close the menu without taking any action * Type the beginning of the name of an option, like its first letter, to quickly jump to it +* **With a number pad:** + * Should be in NumLock! + * 2, 4, 6, 8 - cursor keys (down/left/right/up) + * 5 - pause (and any action that would take the space bar) + * 7, 9 - focus main track/group, queue listings + * /, \* - decrease, increase playback volume + * . - back (and any action that would take backspace) + * + - open a context menu + * 1, 3 - skip to previous, next track -- cgit 1.3.0-6-gf8a5