Function: intentForKey()
function intentForKey(code: string): keyof MoveInput | undefined;
Defined in: xrblocks-uiextensions/src/desktop-locomotion.ts:168
Map a KeyboardEvent.code to the movement intent it drives.
Parameters
| Parameter | Type |
|---|---|
code | string |
Returns
keyof MoveInput | undefined