From 4353db4a5f41541e18732e0dd9515254c312081a Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Thu, 9 Oct 2025 22:42:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20fix=20inverted=20keybo?= =?UTF-8?q?ard=20shortcuts=20for=20video=20and=20microphone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correct accidentally swapped keyboard shortcuts between video and microphone toggle controls introduced during device component refactoring, restoring expected shortcut behavior reported by users. --- .../src/features/rooms/livekit/hooks/useDeviceShortcut.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts b/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts index 8b05925f..b47ed3f2 100644 --- a/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts +++ b/src/frontend/src/features/rooms/livekit/hooks/useDeviceShortcut.ts @@ -6,12 +6,12 @@ export const useDeviceShortcut = (kind: MediaDeviceKind) => { switch (kind) { case 'audioinput': return { - key: 'e', + key: 'd', ctrlKey: true, } case 'videoinput': return { - key: 'd', + key: 'e', ctrlKey: true, } default: