1using System.Runtime.CompilerServices;
14 INTERNAL_get_cursor_direction(out
Vector2 value);
26 INTERNAL_get_cursor_position(out
Vector2 value);
38 INTERNAL_get_cursor_relative_position(out
Vector2 value);
50 return INTERNAL_get_key((
int)key);
60 return INTERNAL_get_key_down((
int)key);
70 return INTERNAL_get_key_up((
int)key);
80 return INTERNAL_get_mouse_button(button);
90 return INTERNAL_get_mouse_button_down(button);
100 return INTERNAL_get_mouse_button_up(button);
109 INTERNAL_get_mouse_wheel(out
Vector2 value);
113 [MethodImpl(MethodImplOptions.InternalCall)]
114 private static extern void INTERNAL_get_cursor_direction(out
Vector2 value);
116 [MethodImpl(MethodImplOptions.InternalCall)]
117 private static extern void INTERNAL_get_cursor_position(out
Vector2 value);
119 [MethodImpl(MethodImplOptions.InternalCall)]
120 private static extern void INTERNAL_get_cursor_relative_position(out
Vector2 value);
122 [MethodImpl(MethodImplOptions.InternalCall)]
123 private static extern bool INTERNAL_get_key(
int key);
125 [MethodImpl(MethodImplOptions.InternalCall)]
126 private static extern bool INTERNAL_get_key_down(
int key);
128 [MethodImpl(MethodImplOptions.InternalCall)]
129 private static extern bool INTERNAL_get_key_up(
int key);
131 [MethodImpl(MethodImplOptions.InternalCall)]
132 private static extern bool INTERNAL_get_mouse_button(
int button);
134 [MethodImpl(MethodImplOptions.InternalCall)]
135 private static extern bool INTERNAL_get_mouse_button_down(
int button);
137 [MethodImpl(MethodImplOptions.InternalCall)]
138 private static extern bool INTERNAL_get_mouse_button_up(
int button);
140 [MethodImpl(MethodImplOptions.InternalCall)]
141 private static extern void INTERNAL_get_mouse_wheel(out
Vector2 value);