Wish: rename scancode → native_key in glfw codebase

This commit is contained in:
Benoit de Chezelles
2019-10-16 01:15:48 +02:00
parent 0c254fa7c7
commit 2b6dde2ac5
5 changed files with 22 additions and 20 deletions

3
glfw/internal.h vendored
View File

@@ -640,7 +640,8 @@ int _glfwPlatformCreateStandardCursor(_GLFWcursor* cursor, GLFWCursorShape shape
void _glfwPlatformDestroyCursor(_GLFWcursor* cursor);
void _glfwPlatformSetCursor(_GLFWwindow* window, _GLFWcursor* cursor);
const char* _glfwPlatformGetScancodeName(int scancode);
// FIXME: s/Scancode/NativeKey ?
const char* _glfwPlatformGetScancodeName(int native_key);
int _glfwPlatformGetKeyScancode(int key);
void _glfwPlatformFreeMonitor(_GLFWmonitor* monitor);