Feature Request (Windows-Key and Mac-Command Key)

Monkey Forums/Monkey Programming/Feature Request (Windows-Key and Mac-Command Key)

sereschkin(Posted 2015) [#1]
Hello there,

in our project we have the need of the windows and command keys. In glfw this is called GLFW_KEY_LEFT_SUPER and GLFW_KEY_RIGHT_SUPER. It would be nice to have this keys accessible through the KeyDown function, i.e. to include these keys in keycodes list. Currently this is what we are doing to achieve such functionality:

static bool LeftSuperKeyPressed()
	{
		return glfwGetKey(BBGlfwGame::GlfwGame()->GetGLFWwindow(), GLFW_KEY_LEFT_SUPER) == GLFW_PRESS;
	}
	
	static bool RightSuperKeyPressed()
	{
		return glfwGetKey(BBGlfwGame::GlfwGame()->GetGLFWwindow(), GLFW_KEY_RIGHT_SUPER) == GLFW_PRESS;
	}


Or have we missed sth.?