Skip to content

five-on-it / apps/client/src/renderer/input / inputFromKeys

Function: inputFromKeys() ​

inputFromKeys(pressed): VehicleInput

Defined in: apps/client/src/renderer/input.ts:14

The vehicle input for the currently held keys.

Parameters ​

pressed ​

ReadonlySet<string>

Returns ​

VehicleInput