♿️(frontend) change ptt keybinding from space to v
ptt now uses v key to avoid accidental activation when typing
This commit is contained in:
@@ -12,5 +12,6 @@ and this project adheres to
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- ♿(frontend) improve accessibility:
|
- ♿(frontend) improve accessibility:
|
||||||
- ♿️(frontend) hover controls, focus, SR
|
- ♿️(frontend) hover controls, focus, SR #803
|
||||||
|
- ♿️(frontend) change ptt keybinding from space to v #813
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export const ToggleDevice = <T extends ToggleSource>({
|
|||||||
isDisabled: cannotUseDevice,
|
isDisabled: cannotUseDevice,
|
||||||
})
|
})
|
||||||
useLongPress({
|
useLongPress({
|
||||||
keyCode: kind === 'audioinput' ? 'Space' : undefined,
|
keyCode: kind === 'audioinput' ? 'KeyV' : undefined,
|
||||||
onKeyDown,
|
onKeyDown,
|
||||||
onKeyUp,
|
onKeyUp,
|
||||||
isDisabled: cannotUseDevice,
|
isDisabled: cannotUseDevice,
|
||||||
|
|||||||
Reference in New Issue
Block a user