mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-10 22:22:21 +08:00
including 6 y and b keys in both left and right side to fix #2261
This commit is contained in:
parent
e808139604
commit
b69f928bb4
1 changed files with 6 additions and 5 deletions
|
|
@ -25,21 +25,22 @@ function buildKeymapStrings() {
|
|||
keymapStrings.left = (
|
||||
layout.slice(0, 7).join(" ") +
|
||||
" " +
|
||||
layout.slice(13, 18).join(" ") +
|
||||
layout.slice(13, 19).join(" ") +
|
||||
" " +
|
||||
layout.slice(26, 31).join(" ") +
|
||||
" " +
|
||||
layout.slice(38, 42).join(" ")
|
||||
layout.slice(38, 43).join(" ")
|
||||
).replace(/ /g, "");
|
||||
keymapStrings.right = (
|
||||
layout.slice(7, 13).join(" ") +
|
||||
layout.slice(6, 13).join(" ") +
|
||||
" " +
|
||||
layout.slice(19, 26).join(" ") +
|
||||
layout.slice(18, 26).join(" ") +
|
||||
" " +
|
||||
layout.slice(31, 38).join(" ") +
|
||||
" " +
|
||||
layout.slice(43, 48).join(" ")
|
||||
layout.slice(42, 48).join(" ")
|
||||
).replace(/ /g, "");
|
||||
console.log(keymapStrings);
|
||||
keymapStrings.keymap = Config.keymapLayout;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue