From: Christian Heller <c.heller@plomlompom.de> Date: Sun, 8 Nov 2020 01:15:39 +0000 (+0100) Subject: Improve keybinding help in web client. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/pick_tasks?a=commitdiff_plain;h=50317350faf9461f95025a3075d4e048215dec25;p=plomrogue2-experiments Improve keybinding help in web client. --- diff --git a/new2/rogue_chat_nocanvas_monochrome.html b/new2/rogue_chat_nocanvas_monochrome.html index 6436f21..b51fc01 100644 --- a/new2/rogue_chat_nocanvas_monochrome.html +++ b/new2/rogue_chat_nocanvas_monochrome.html @@ -10,7 +10,7 @@ terminal columns: <input id="n_cols" type="number" step=4 min=20 value=80 /> <pre id="terminal" style="display: inline-block;"></pre> <textarea id="input" style="opacity: 0; width: 0px;"></textarea> <div> -keys:<br /> +keys (see <a href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values">here</a> for non-obvious available values):<br /> move up (square grid): <input id="key_square_move_up" type="text" value="w" /> (hint: ArrowUp)<br /> move left (square grid): <input id="key_square_move_left" type="text" value="a" /> (hint: ArrowLeft)<br /> move down (square grid): <input id="key_square_move_down" type="text" value="s" /> (hint: ArrowDown)<br />