️(frontend) change ptt keybinding from space to v

ptt now uses v key to avoid accidental activation when typing
This commit is contained in:
Cyril
2025-12-16 12:11:11 +01:00
committed by aleb_the_flash
parent b0e27b38e2
commit a6c154374f
2 changed files with 3 additions and 2 deletions

View File

@@ -12,5 +12,6 @@ and this project adheres to
### Changed
- ♿(frontend) improve accessibility:
- ♿️(frontend) hover controls, focus, SR
- ♿️(frontend) hover controls, focus, SR #803
- ♿️(frontend) change ptt keybinding from space to v #813

View File

@@ -93,7 +93,7 @@ export const ToggleDevice = <T extends ToggleSource>({
isDisabled: cannotUseDevice,
})
useLongPress({
keyCode: kind === 'audioinput' ? 'Space' : undefined,
keyCode: kind === 'audioinput' ? 'KeyV' : undefined,
onKeyDown,
onKeyUp,
isDisabled: cannotUseDevice,