Home
last modified time | relevance | path

Searched refs:GetKeyModifierState (Results 1 – 9 of 9) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/shell/src/win32/
H A DInputWin32.cpp34 static int GetKeyModifierState();
59 context->ProcessMouseButtonDown(0, GetKeyModifierState()); in ProcessWindowsEvent()
63 context->ProcessMouseButtonUp(0, GetKeyModifierState()); in ProcessWindowsEvent()
67 context->ProcessMouseButtonDown(1, GetKeyModifierState()); in ProcessWindowsEvent()
71 context->ProcessMouseButtonUp(1, GetKeyModifierState()); in ProcessWindowsEvent()
75 context->ProcessMouseButtonDown(2, GetKeyModifierState()); in ProcessWindowsEvent()
79 context->ProcessMouseButtonUp(2, GetKeyModifierState()); in ProcessWindowsEvent()
83 context->ProcessMouseMove(LOWORD(l_param), HIWORD(l_param), GetKeyModifierState()); in ProcessWindowsEvent()
93 int key_modifier_state = GetKeyModifierState(); in ProcessWindowsEvent()
119 context->ProcessKeyUp(key_identifier_map[w_param], GetKeyModifierState()); in ProcessWindowsEvent()
[all …]
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/shell/src/macosx/
H A DInputMacOSX.cpp42 static int GetKeyModifierState(EventRef event);
70 context->ProcessMouseButtonDown(mouse_button - 1, GetKeyModifierState(event)); in EventHandler()
78 context->ProcessMouseButtonUp(mouse_button - 1, GetKeyModifierState(event)); in EventHandler()
91 context->ProcessMouseWheel(-delta, GetKeyModifierState(event)); in EventHandler()
101 context->ProcessMouseMove(position.x, position.y - 22, GetKeyModifierState(event)); in EventHandler()
118 int key_modifier_state = GetKeyModifierState(event); in EventHandler()
144 int key_modifier_state = GetKeyModifierState(event); in EventHandler()
159 static int GetKeyModifierState(EventRef event) in GetKeyModifierState() function
/dports/devel/godot2/godot-2.1.6-stable/platform/haiku/
H A Dhaiku_direct_window.cpp157 mouse_event.mouse_button.mod = GetKeyModifierState(modifiers); in HandleMouseButton()
214 motion_event.mouse_motion.mod = GetKeyModifierState(modifiers); in HandleMouseMoved()
244 mouse_event.mouse_button.mod = GetKeyModifierState(last_key_modifier_state); in HandleMouseWheelChanged()
280 event.key.mod = GetKeyModifierState(modifiers); in HandleKeyboardEvent()
318 event.key.mod = GetKeyModifierState(modifiers); in HandleKeyboardModifierEvent()
339 inline InputModifierState HaikuDirectWindow::GetKeyModifierState(uint32 p_state) { in GetKeyModifierState() function in HaikuDirectWindow
H A Dhaiku_direct_window.h66 inline InputModifierState GetKeyModifierState(uint32 p_state);
/dports/devel/godot2-tools/godot-2.1.6-stable/platform/haiku/
H A Dhaiku_direct_window.cpp157 mouse_event.mouse_button.mod = GetKeyModifierState(modifiers); in HandleMouseButton()
214 motion_event.mouse_motion.mod = GetKeyModifierState(modifiers); in HandleMouseMoved()
244 mouse_event.mouse_button.mod = GetKeyModifierState(last_key_modifier_state); in HandleMouseWheelChanged()
280 event.key.mod = GetKeyModifierState(modifiers); in HandleKeyboardEvent()
318 event.key.mod = GetKeyModifierState(modifiers); in HandleKeyboardModifierEvent()
339 inline InputModifierState HaikuDirectWindow::GetKeyModifierState(uint32 p_state) { in GetKeyModifierState() function in HaikuDirectWindow
H A Dhaiku_direct_window.h66 inline InputModifierState GetKeyModifierState(uint32 p_state);
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/shell/src/x11/
H A DInputX11.cpp41 static int GetKeyModifierState(int x_state);
106 case Button4: context->ProcessMouseWheel(-1, GetKeyModifierState(event.xbutton.state)); return; in ProcessXEvent()
107 case Button5: context->ProcessMouseWheel(1, GetKeyModifierState(event.xbutton.state)); return; in ProcessXEvent()
111 context->ProcessMouseButtonDown(button_index, GetKeyModifierState(event.xbutton.state)); in ProcessXEvent()
127 context->ProcessMouseButtonUp(button_index, GetKeyModifierState(event.xbutton.state)); in ProcessXEvent()
132 …context->ProcessMouseMove(event.xmotion.x, event.xmotion.y, GetKeyModifierState(event.xmotion.stat… in ProcessXEvent()
157 int key_modifier_state = GetKeyModifierState(event.xkey.state); in ProcessXEvent()
198 int key_modifier_state = GetKeyModifierState(event.xkey.state); in ProcessXEvent()
206 static int GetKeyModifierState(int x_state) in GetKeyModifierState() function
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Samples/basic/ogre3d/src/
H A DRocketFrameListener.cpp55 int key_modifier_state = GetKeyModifierState(); in mouseMoved()
68 context->ProcessMouseButtonDown((int) id, GetKeyModifierState()); in mousePressed()
76 context->ProcessMouseButtonUp((int) id, GetKeyModifierState()); in mouseReleased()
86 (GetKeyModifierState() & Rocket::Core::Input::KM_SHIFT)) in keyPressed()
93 context->ProcessKeyDown(key_identifier, GetKeyModifierState()); in keyPressed()
109 context->ProcessKeyUp(key_identifier, GetKeyModifierState()); in keyReleased()
266 int RocketFrameListener::GetKeyModifierState() in GetKeyModifierState() function in RocketFrameListener
H A DRocketFrameListener.h60 int GetKeyModifierState();