mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
switch to ctrl from shift for keybindings
+ readme: removed cider and added mellowmusic + updated dep.
This commit is contained in:
parent
bcb4dceaae
commit
fe11f9d2f1
4 changed files with 138 additions and 140 deletions
|
@ -93,9 +93,10 @@ function parseUrl() {
|
|||
}
|
||||
}
|
||||
|
||||
/* Keybindings */
|
||||
function setupKeys() {
|
||||
window.addEventListener('keydown', e => {
|
||||
if (!e.shiftKey || e.repeat || 'string' == typeof e.target.value) return;
|
||||
if (!e.ctrlKey || e.repeat || 'string' == typeof e.target.value) return;
|
||||
|
||||
switch (e.code) {
|
||||
case 'Space':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue