Esempio n. 1
0
 public void OnKey(nk_keys Key, bool Down)
 {
     Events.Enqueue(new NuklearEvent()
     {
         EvtType = NuklearEvent.EventType.KeyboardKey, Key = Key, Down = Down
     });
 }
 public void OnKey(nk_keys Key, bool isDown)
 {
     Events.Enqueue(new NuklearEvent
     {
         Type   = NuklearEvent.EventType.KeyboardKey,
         Key    = Key,
         IsDown = isDown
     });
 }
Esempio n. 3
0
 public static extern int nk_input_is_key_down(nk_input *inp, nk_keys keys);
Esempio n. 4
0
 public static extern int nk_input_is_key_released(nk_input *inp, nk_keys keys);
Esempio n. 5
0
 public static extern int nk_input_is_key_pressed(nk_input *inp, nk_keys keys);
Esempio n. 6
0
 public static extern void nk_input_key(nk_context *context, nk_keys keys, int down);
Esempio n. 7
0
 public static int nk_input_is_key_down(nk_input *inp, nk_keys keys) => _nk_input_is_key_down(inp, keys);
Esempio n. 8
0
 public static int nk_input_is_key_released(nk_input *inp, nk_keys keys) => _nk_input_is_key_released(inp, keys);
Esempio n. 9
0
 public static void nk_input_key(nk_context *context, nk_keys keys, int down) => _nk_input_key(context, keys, down);