mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Renamed X11 keysym to Unicode conversion file.
This commit is contained in:
parent
355af57b91
commit
121ce7fbd6
|
@ -24,8 +24,8 @@ elseif (_GLFW_WIN32)
|
|||
elseif (_GLFW_X11)
|
||||
set(glfw_HEADERS ${common_HEADERS} x11_platform.h)
|
||||
set(glfw_SOURCES ${common_SOURCES} x11_clipboard.c x11_gamma.c x11_init.c
|
||||
x11_joystick.c x11_keysym2unicode.c x11_monitor.c
|
||||
x11_time.c x11_window.c)
|
||||
x11_joystick.c x11_monitor.c x11_time.c x11_window.c
|
||||
x11_unicode.c)
|
||||
endif()
|
||||
|
||||
if (_GLFW_EGL)
|
||||
|
|
|
@ -71,7 +71,7 @@ static int translateChar(XKeyEvent* event)
|
|||
// Get X11 keysym
|
||||
XLookupString(event, NULL, 0, &keysym, NULL);
|
||||
|
||||
// Convert to Unicode (see x11_keysym2unicode.c)
|
||||
// Convert to Unicode (see x11_unicode.c)
|
||||
return (int) _glfwKeySym2Unicode(keysym);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user