Set movement/look state from a keydown. WASD sets translation (Alt/Meta+W/S
switch to up/down), Q/E set roll, arrow keys set continuous look, and Shift
engages speed boost. preventDefault is called for arrow keys always and
for WASDQE unless the user is typing in an input/textarea/contenteditable.
Dispatches change; no-op while disabled.
Set movement/look state from a keydown. WASD sets translation (Alt/Meta+W/S switch to up/down), Q/E set roll, arrow keys set continuous look, and Shift engages speed boost.
preventDefaultis called for arrow keys always and for WASDQE unless the user is typing in an input/textarea/contenteditable. Dispatcheschange; no-op while disabled.