From 11676b0dc8a4124bdd864992ebfee52af5955ba8 Mon Sep 17 00:00:00 2001 From: Drew Schleck Date: Thu, 9 Apr 2015 21:38:53 -0700 Subject: [PATCH] Reduce some repetition in input.dox --- docs/input.dox | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/input.dox b/docs/input.dox index fb38808b2..fdc3765b9 100644 --- a/docs/input.dox +++ b/docs/input.dox @@ -104,15 +104,9 @@ void key_callback(GLFWwindow* window, int key, int scancode, int action, int mod @endcode The action is one of `GLFW_PRESS`, `GLFW_REPEAT` or `GLFW_RELEASE`. The key -will be `GLFW_KEY_UNKNOWN` if GLFW lacks a key token for it. These keys still -have unique, if platform-specific scancodes. - -The scancode is unique for every key but is platform-specific, so a scancode -will map to different keys on different platforms. - -The key will be `GLFW_KEY_UNKNOWN` for special keys like _E-mail_ or _Play_ that -don't have a key token. Those keys will still have unique, if platform-specific -scancodes. +will be `GLFW_KEY_UNKNOWN` if GLFW lacks a key token for it, such as the _E-mail_ +or _Play_ keys. These keys still have unique, platform-specific scancodes which +will be mapped to different keys on different platforms. Key states for [named keys](@ref keys) are also saved in per-window state arrays that can be polled with @ref glfwGetKey.