Exemplo n.º 1
0
        public static string getKeyName(GLFWkey key, int scancode)
        {
            IntPtr name = Glfwint.getKeyName((int)key, scancode);

            return(Marshal.PtrToStringAuto(name));
        }
Exemplo n.º 2
0
        public static GLFWbuttonState getMouseButton(GLFWwindow window, GLFWkey key)
        {
            int a = Glfwint.getMouseButton(window.handle, (int)key);

            return((GLFWbuttonState)a);
        }
Exemplo n.º 3
0
 public static string getKeyName(GLFWkey key)
 {
     return(getKeyName(key, 0));
 }