Lines Matching refs:mods
218 int mods = 0;
221 mods |= GLFW_MOD_SHIFT;
223 mods |= GLFW_MOD_CONTROL;
225 mods |= GLFW_MOD_ALT;
227 mods |= GLFW_MOD_SUPER;
229 mods |= GLFW_MOD_CAPS_LOCK;
231 mods |= GLFW_MOD_NUM_LOCK;
233 return mods;
1246 const int mods = translateState(event->xkey.state);
1247 const int plain = !(mods & (GLFW_MOD_CONTROL | GLFW_MOD_ALT));
1262 _glfwInputKey(window, key, keycode, GLFW_PRESS, mods);
1293 _glfwInputChar(window, decodeUTF8(&c), mods, plain);
1305 _glfwInputKey(window, key, keycode, GLFW_PRESS, mods);
1309 _glfwInputChar(window, codepoint, mods, plain);
1318 const int mods = translateState(event->xkey.state);
1352 _glfwInputKey(window, key, keycode, GLFW_RELEASE, mods);
1358 const int mods = translateState(event->xbutton.state);
1361 _glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_LEFT, GLFW_PRESS, mods);
1363 _glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_MIDDLE, GLFW_PRESS, mods);
1365 _glfwInputMouseClick(window, GLFW_MOUSE_BUTTON_RIGHT, GLFW_PRESS, mods);
1384 mods);
1392 const int mods = translateState(event->xbutton.state);
1399 mods);
1406 mods);
1413 mods);
1422 mods);