Open ubernaut opened 4 years ago
the way I see it, Each sim should present a 'control interface' which is a set of functions that control aspects of the simulation.
Sim devs would define a map from each relevant input event to each function in the control interface.
alternatively standard maps for typical controls could also exist,
(WASD | left analog stick ) => camera ( Forward, Left strafe, Backward, Right Strafe)
(mouse xy | right analog stick | VR HMD motion) => camera (rotate)
module which demonstrates how to switch between input and output systems depending on what is available
output examples: desktop vs mobile vs vr
input examples kb+mouse vs gamepad vs VR controls vs moble accelerometer