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