F Keys compatible avec G Chrome Nav
This commit is contained in:
parent
cedb54e395
commit
231891fcf9
2 changed files with 8 additions and 8 deletions
|
|
@ -87,10 +87,10 @@ const systemWindow = document.getElementById("chat-system-box") as HTMLDivElemen
|
|||
function chatKeyToggle() {
|
||||
let anti_flicker_control = false;
|
||||
const chat_hide_key = 'escape';
|
||||
const chat_display_key = 'f1';
|
||||
const pong_display_key = 'f2';
|
||||
const ttt_display_key = 'f4';
|
||||
const home_display_key = 'f8';
|
||||
const chat_display_key = 'f2';
|
||||
const pong_display_key = 'f4';
|
||||
const ttt_display_key = 'f8';
|
||||
const home_display_key = 'f9';
|
||||
document.addEventListener("keydown", (event) => {
|
||||
if (event.repeat && keysPressed[chat_hide_key] === true) {
|
||||
anti_flicker_control = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue