Esempio n. 1
0
 /// <summary>Keyboard key state! On desktop this is super handy, but
 /// even standalone MR devices can have bluetooth keyboards, or even
 /// just holographic system keyboards!</summary>
 /// <param name="key">The key to get the state of. Any key!</param>
 /// <returns>A BtnState with a number of different bits of info about
 /// whether or not the key was pressed or released this frame.</returns>
 public static BtnState Key(Key key)
 => NativeAPI.input_key(key);
Esempio n. 2
0
 public static BtnState Key(Key key)
 {
     return(NativeAPI.input_key(key));
 }