From 6edcc75a6bbe6f358a2ba5d5101c6872472cc211 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Wed, 14 Aug 2013 14:41:39 +0200 Subject: [PATCH] glfwGetKeyName(int key) - Added stub methods for X11 and Cocoa --- src/cocoa_window.m | 5 +++++ src/x11_window.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 4a2c0c35..47230249 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -1094,6 +1094,11 @@ void _glfwPlatformSetCursorMode(_GLFWwindow* window, int mode) } } +const char*_glfwPlatformGetKeyName(int key) +{ + // TODO: Implement. + return NULL; +} ////////////////////////////////////////////////////////////////////////// ////// GLFW native API ////// diff --git a/src/x11_window.c b/src/x11_window.c index 9b3791c2..b15304bd 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -1163,6 +1163,11 @@ void _glfwPlatformSetCursorMode(_GLFWwindow* window, int mode) } } +const char*_glfwPlatformGetKeyName(int key) +{ + // TODO: Implement. + return NULL; +} ////////////////////////////////////////////////////////////////////////// ////// GLFW native API //////