🐛(frontend) fix inverted keyboard shortcuts for video and microphone

Correct accidentally swapped keyboard shortcuts between video and
microphone toggle controls introduced during device component
refactoring, restoring expected shortcut behavior reported by users.
This commit is contained in:
lebaudantoine
2025-10-09 22:42:01 +02:00
committed by aleb_the_flash
parent 469e824167
commit 4353db4a5f

View File

@@ -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: