From 8cae70fa360e672545a0140b1eff06f32d83f037 Mon Sep 17 00:00:00 2001 From: Benoit de Chezelles Date: Wed, 16 Oct 2019 02:36:55 +0200 Subject: [PATCH] Update doc --- glfw/glfw3.h | 4 ++-- kitty/glfw-wrapper.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glfw/glfw3.h b/glfw/glfw3.h index 7c47ea2ae..1305e867e 100644 --- a/glfw/glfw3.h +++ b/glfw/glfw3.h @@ -1211,7 +1211,7 @@ typedef struct GLFWkeyevent // The [keyboard key](@ref keys) that was pressed or released. int key; - // The native key identifier of the key. + // The platform-specific identifier of the key. int native_key; // The event action. Either `GLFW_PRESS`, `GLFW_RELEASE` or `GLFW_REPEAT`. @@ -4215,7 +4215,7 @@ GLFWAPI void glfwSetInputMode(GLFWwindow* window, int mode, int value); * language and should be localized along with other user interface text. * * @param[in] key The key to query, or `GLFW_KEY_UNKNOWN`. - * @param[in] native_key The native key identifier of the key to query. + * @param[in] native_key The platform-specifc identifier of the key to query. * @return The UTF-8 encoded, layout-specific name of the key, or `NULL`. * * @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref diff --git a/kitty/glfw-wrapper.h b/kitty/glfw-wrapper.h index d8a9d51c5..5c194f906 100644 --- a/kitty/glfw-wrapper.h +++ b/kitty/glfw-wrapper.h @@ -971,7 +971,7 @@ typedef struct GLFWkeyevent // The [keyboard key](@ref keys) that was pressed or released. int key; - // The native key identifier of the key. + // The platform-specific identifier of the key. int native_key; // The event action. Either `GLFW_PRESS`, `GLFW_RELEASE` or `GLFW_REPEAT`.