From d4d738a8aedcb5812f073b5b1f3dda0bd1bd6b20 Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Thu, 1 Apr 2021 23:09:02 +0200 Subject: [PATCH] Added some basic keyboard controls to the owncast frontend (#804) * added f and m keys * added more keys and volume control * added p for play and c for chatview toggle * remove vscode auto format * changed e.target check to not trigger kb-controls if input is in focus * fixed the default mute problem * Commit updated API documentation * merged keydown and keypressed methods Co-authored-by: Owncast --- doc/api/index.html | 30 ++++++++++++------------ webroot/js/app.js | 57 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 62 insertions(+), 25 deletions(-) diff --git a/doc/api/index.html b/doc/api/index.html index 68ac61be2..c30ae9d3e 100644 --- a/doc/api/index.html +++ b/doc/api/index.html @@ -15,10 +15,10 @@