Unify user list on Shift+L and remove Shift+U mode

This commit is contained in:
Jage9
2026-02-22 19:35:28 -05:00
parent 391100a00e
commit 2362c14bc0
5 changed files with 20 additions and 83 deletions

View File

@@ -20,7 +20,6 @@ export type MainModeCommand =
| 'calibrateMicrophone'
| 'useItem'
| 'speakUsers'
| 'listUsersAlphabetical'
| 'addItem'
| 'locateOrListItems'
| 'pickupDropOrDelete'
@@ -53,7 +52,7 @@ export function resolveMainModeCommand(code: string, shiftKey: boolean): MainMod
if (code === 'KeyC') return shiftKey ? null : 'speakCoordinates';
if (code === 'KeyV') return shiftKey ? 'calibrateMicrophone' : 'openMicGainEdit';
if (code === 'Enter') return 'useItem';
if (code === 'KeyU') return shiftKey ? 'listUsersAlphabetical' : 'speakUsers';
if (code === 'KeyU') return shiftKey ? null : 'speakUsers';
if (code === 'KeyA') return shiftKey ? null : 'addItem';
if (code === 'KeyI') return 'locateOrListItems';
if (code === 'KeyD') return 'pickupDropOrDelete';