Add API for the application to notify the IME system of state changes

This commit is contained in:
Kovid Goyal
2018-07-11 10:13:38 +05:30
parent 1061e40b98
commit 342164ede1
11 changed files with 64 additions and 4 deletions

1
glfw/xkb_glfw.h vendored
View File

@@ -87,3 +87,4 @@ const char* glfw_xkb_keysym_name(xkb_keysym_t sym);
xkb_keysym_t glfw_xkb_sym_for_key(int key);
void glfw_xkb_handle_key_event(_GLFWwindow *window, _GLFWXKBData *xkb, xkb_keycode_t scancode, int action);
int glfw_xkb_keysym_from_name(const char *name, GLFWbool case_sensitive);
void glfw_xkb_update_ime_state(_GLFWwindow *w, _GLFWXKBData *xkb, int which, int a, int b, int c, int d);