Home
last modified time | relevance | path

Searched refs:KeyInput (Results 1 – 25 of 1096) sorted by relevance

12345678910>>...44

/dports/games/qonk/qonk-0.3.1/guichan/guichan/
H A Dkeyinput.cpp65 KeyInput::KeyInput(const Key& key, int type) in KeyInput() function in gcn::KeyInput
77 void KeyInput::setType(int type) in setType()
82 int KeyInput::getType() const in getType()
87 void KeyInput::setKey(const Key& key) in setKey()
92 const Key& KeyInput::getKey() const in getKey()
97 bool KeyInput::isShiftPressed() const in isShiftPressed()
107 bool KeyInput::isControlPressed() const in isControlPressed()
117 bool KeyInput::isAltPressed() const in isAltPressed()
127 bool KeyInput::isMetaPressed() const in isMetaPressed()
137 bool KeyInput::isNumericPad() const in isNumericPad()
[all …]
/dports/devel/guichan/guichan-0.8.2/src/
H A Dkeyinput.cpp52 KeyInput::KeyInput(const Key& key, unsigned int type) in KeyInput() function in gcn::KeyInput
64 void KeyInput::setType(unsigned int type) in setType()
69 int KeyInput::getType() const in getType()
74 void KeyInput::setKey(const Key& key) in setKey()
79 const Key& KeyInput::getKey() const in getKey()
84 bool KeyInput::isShiftPressed() const in isShiftPressed()
94 bool KeyInput::isControlPressed() const in isControlPressed()
104 bool KeyInput::isAltPressed() const in isAltPressed()
114 bool KeyInput::isMetaPressed() const in isMetaPressed()
124 bool KeyInput::isNumericPad() const in isNumericPad()
[all …]
/dports/games/spacejunk/spacejunk-1.0.5/guichan/
H A Dkeyinput.cpp52 KeyInput::KeyInput(const Key& key, unsigned int type) in KeyInput() function in gcn::KeyInput
64 void KeyInput::setType(unsigned int type) in setType()
69 int KeyInput::getType() const in getType()
74 void KeyInput::setKey(const Key& key) in setKey()
79 const Key& KeyInput::getKey() const in getKey()
84 bool KeyInput::isShiftPressed() const in isShiftPressed()
94 bool KeyInput::isControlPressed() const in isControlPressed()
104 bool KeyInput::isAltPressed() const in isAltPressed()
114 bool KeyInput::isMetaPressed() const in isMetaPressed()
124 bool KeyInput::isNumericPad() const in isNumericPad()
[all …]
/dports/devel/fifechan/fifechan-0.1.5/src/
H A Dkeyinput.cpp73 KeyInput::KeyInput(const Key& key, unsigned int type) in KeyInput() function in fcn::KeyInput
85 void KeyInput::setType(unsigned int type) in setType()
90 int KeyInput::getType() const in getType()
95 void KeyInput::setKey(const Key& key) in setKey()
100 const Key& KeyInput::getKey() const in getKey()
105 bool KeyInput::isShiftPressed() const in isShiftPressed()
115 bool KeyInput::isControlPressed() const in isControlPressed()
125 bool KeyInput::isAltPressed() const in isAltPressed()
135 bool KeyInput::isMetaPressed() const in isMetaPressed()
145 bool KeyInput::isNumericPad() const in isNumericPad()
[all …]
/dports/games/freeminer/freeminer-0.4.10.4/src/
H A DguiChatConsole.cpp449 else if(event.KeyInput.Key == KEY_PRIOR && event.KeyInput.Char == 0) in OnEvent()
454 else if(event.KeyInput.Key == KEY_NEXT && event.KeyInput.Char == 0) in OnEvent()
470 else if(event.KeyInput.Key == KEY_UP && event.KeyInput.Char == 0) in OnEvent()
477 else if(event.KeyInput.Key == KEY_DOWN && event.KeyInput.Char == 0) in OnEvent()
484 else if(event.KeyInput.Key == KEY_LEFT && event.KeyInput.Char == 0) in OnEvent()
512 else if(event.KeyInput.Key == KEY_HOME && event.KeyInput.Char == 0) in OnEvent()
522 else if(event.KeyInput.Key == KEY_END && event.KeyInput.Char == 0) in OnEvent()
546 …else if(event.KeyInput.Key == KEY_DELETE && (event.KeyInput.Char == 0 || event.KeyInput.Char == 12… in OnEvent()
560 else if(event.KeyInput.Key == KEY_KEY_U && event.KeyInput.Control) in OnEvent()
570 else if(event.KeyInput.Key == KEY_KEY_K && event.KeyInput.Control) in OnEvent()
[all …]
H A DguiTextInputMenu.cpp132 evt.KeyInput.Key = KEY_END; in regenerateGui()
133 evt.KeyInput.PressedDown = true; in regenerateGui()
134 evt.KeyInput.Char = 0; in regenerateGui()
135 evt.KeyInput.Control = 0; in regenerateGui()
136 evt.KeyInput.Shift = 0; in regenerateGui()
180 if(event.KeyInput.Key==KEY_ESCAPE && event.KeyInput.PressedDown) in OnEvent()
185 if(event.KeyInput.Key==KEY_RETURN && event.KeyInput.PressedDown) in OnEvent()
/dports/games/minetest/minetest-5.4.1/src/gui/
H A DguiChatConsole.cpp462 else if(event.KeyInput.Key == KEY_LEFT || event.KeyInput.Key == KEY_RIGHT) in OnEvent()
503 event.KeyInput.Control ? in OnEvent()
517 event.KeyInput.Control ? in OnEvent()
526 else if(event.KeyInput.Key == KEY_KEY_A && event.KeyInput.Control) in OnEvent()
536 else if(event.KeyInput.Key == KEY_KEY_C && event.KeyInput.Control) in OnEvent()
547 else if(event.KeyInput.Key == KEY_KEY_V && event.KeyInput.Control) in OnEvent()
566 else if(event.KeyInput.Key == KEY_KEY_X && event.KeyInput.Control) in OnEvent()
581 else if(event.KeyInput.Key == KEY_KEY_U && event.KeyInput.Control) in OnEvent()
591 else if(event.KeyInput.Key == KEY_KEY_K && event.KeyInput.Control) in OnEvent()
609 } else if (!iswcntrl(event.KeyInput.Char) && !event.KeyInput.Control) { in OnEvent()
[all …]
/dports/devel/fifechan/fifechan-0.1.5/src/openlayer/
H A Dopenlayerinput.cpp90 KeyInput OpenLayerInput::dequeueKeyInput() in dequeueKeyInput()
97 KeyInput ki = mKeyQueue.front(); in dequeueKeyInput()
249 KeyInput keyInput(keyObj, KeyInput::Pressed); in pollKeyInput()
272 KeyInput keyInput(convertToKey(KEY_ALT, 0), KeyInput::Pressed); in pollKeyInput()
279 KeyInput keyInput(convertToKey(KEY_ALTGR, 0), KeyInput::Pressed); in pollKeyInput()
286 KeyInput keyInput(convertToKey(KEY_LSHIFT, 0), KeyInput::Pressed); in pollKeyInput()
293 KeyInput keyInput(convertToKey(KEY_RSHIFT, 0), KeyInput::Pressed); in pollKeyInput()
300 KeyInput keyInput(convertToKey(KEY_LCONTROL, 0), KeyInput::Pressed); in pollKeyInput()
307 KeyInput keyInput(convertToKey(KEY_RCONTROL, 0), KeyInput::Pressed); in pollKeyInput()
313 std::map<int, KeyInput>::iterator iter, tempIter; in pollKeyInput()
[all …]
/dports/devel/guichan/guichan-0.8.2/src/allegro/
H A Dallegroinput.cpp69 KeyInput AllegroInput::dequeueKeyInput() in dequeueKeyInput()
76 KeyInput ki = mKeyQueue.front(); in dequeueKeyInput()
228 KeyInput keyInput(keyObj, KeyInput::PRESSED); in pollKeyInput()
251 KeyInput keyInput(convertToKey(KEY_ALT, 0), KeyInput::PRESSED); in pollKeyInput()
258 KeyInput keyInput(convertToKey(KEY_ALTGR, 0), KeyInput::PRESSED); in pollKeyInput()
265 KeyInput keyInput(convertToKey(KEY_LSHIFT, 0), KeyInput::PRESSED); in pollKeyInput()
272 KeyInput keyInput(convertToKey(KEY_RSHIFT, 0), KeyInput::PRESSED); in pollKeyInput()
279 KeyInput keyInput(convertToKey(KEY_LCONTROL, 0), KeyInput::PRESSED); in pollKeyInput()
286 KeyInput keyInput(convertToKey(KEY_RCONTROL, 0), KeyInput::PRESSED); in pollKeyInput()
292 std::map<int, KeyInput>::iterator iter, tempIter; in pollKeyInput()
[all …]
/dports/devel/fifechan/fifechan-0.1.5/src/allegro/
H A Dallegroinput.cpp90 KeyInput AllegroInput::dequeueKeyInput() in dequeueKeyInput()
97 KeyInput ki = mKeyQueue.front(); in dequeueKeyInput()
249 KeyInput keyInput(keyObj, KeyInput::Pressed); in pollKeyInput()
272 KeyInput keyInput(convertToKey(KEY_ALT, 0), KeyInput::Pressed); in pollKeyInput()
279 KeyInput keyInput(convertToKey(KEY_ALTGR, 0), KeyInput::Pressed); in pollKeyInput()
286 KeyInput keyInput(convertToKey(KEY_LSHIFT, 0), KeyInput::Pressed); in pollKeyInput()
293 KeyInput keyInput(convertToKey(KEY_RSHIFT, 0), KeyInput::Pressed); in pollKeyInput()
300 KeyInput keyInput(convertToKey(KEY_LCONTROL, 0), KeyInput::Pressed); in pollKeyInput()
307 KeyInput keyInput(convertToKey(KEY_RCONTROL, 0), KeyInput::Pressed); in pollKeyInput()
313 std::map<int, KeyInput>::iterator iter, tempIter; in pollKeyInput()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/js/src/gc/
H A DWeakMap.h246 template <typename KeyInput, typename ValueInput>
252 template <typename KeyInput, typename ValueInput>
259 template <typename KeyInput, typename ValueInput>
260 [[nodiscard]] bool put(KeyInput&& k, ValueInput&& v) {
265 template <typename KeyInput, typename ValueInput>
266 [[nodiscard]] bool putNew(KeyInput&& k, ValueInput&& v) {
271 template <typename KeyInput, typename ValueInput>
272 void putNewInfallible(KeyInput&& k, ValueInput&& v) {
278 template <typename KeyInput, typename ValueInput>
279 bool hasEntry(KeyInput&& key, ValueInput&& value) {
[all …]
H A DHashUtil.h35 template <class KeyInput, class ValueInput>
36 bool add(JSContext* cx, T& table, const KeyInput& key, in add()
46 template <class KeyInput>
47 void remove(JSContext* cx, T& table, const KeyInput& key) { in remove()
63 template <class KeyInput>
64 void refreshAddPtr(JSContext* cx, T& table, const KeyInput& key) { in refreshAddPtr()
/dports/www/firefox/firefox-99.0/js/src/gc/
H A DWeakMap.h242 template <typename KeyInput, typename ValueInput>
248 template <typename KeyInput, typename ValueInput>
255 template <typename KeyInput, typename ValueInput>
256 [[nodiscard]] bool put(KeyInput&& k, ValueInput&& v) {
261 template <typename KeyInput, typename ValueInput>
262 [[nodiscard]] bool putNew(KeyInput&& k, ValueInput&& v) {
267 template <typename KeyInput, typename ValueInput>
268 void putNewInfallible(KeyInput&& k, ValueInput&& v) {
274 template <typename KeyInput, typename ValueInput>
275 bool hasEntry(KeyInput&& key, ValueInput&& value) {
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/js/src/gc/
H A DWeakMap.h246 template <typename KeyInput, typename ValueInput>
252 template <typename KeyInput, typename ValueInput>
259 template <typename KeyInput, typename ValueInput>
260 [[nodiscard]] bool put(KeyInput&& k, ValueInput&& v) {
265 template <typename KeyInput, typename ValueInput>
266 [[nodiscard]] bool putNew(KeyInput&& k, ValueInput&& v) {
271 template <typename KeyInput, typename ValueInput>
272 void putNewInfallible(KeyInput&& k, ValueInput&& v) {
278 template <typename KeyInput, typename ValueInput>
279 bool hasEntry(KeyInput&& key, ValueInput&& value) {
[all …]
/dports/games/manaplus/manaplus-2.1.3.17/src/input/
H A Dkeyinput.h80 class KeyInput final
83 KeyInput() noexcept2 : in KeyInput() function
92 KeyInput(const KeyInput &k) noexcept2 : in KeyInput() function
102 A_DEFAULT_COPY(KeyInput) in A_DEFAULT_COPY() argument
104 KeyInput &operator=(const KeyInput &k) noexcept2 in A_DEFAULT_COPY()
115 ~KeyInput() in ~KeyInput()
/dports/games/stratagus/stratagus-3.2.0/src/guichan/
H A Dkeyinput.cpp63 KeyInput::KeyInput(const Key& key, int type) in KeyInput() function in gcn::KeyInput
69 void KeyInput::setType(int type) in setType()
74 int KeyInput::getType() const in getType()
79 void KeyInput::setKey(const Key& key) in setKey()
84 const Key& KeyInput::getKey() const in getKey()
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/guichan/
H A Dkeyinput.cpp63 KeyInput::KeyInput(const Key& key, int type) in KeyInput() function in gcn::KeyInput
69 void KeyInput::setType(int type) in setType()
74 int KeyInput::getType() const in getType()
79 void KeyInput::setKey(const Key& key) in setKey()
84 const Key& KeyInput::getKey() const in getKey()
/dports/games/spring/spring_98.0/rts/Game/Camera/
H A DFreeController.cpp222 if (KeyInput::GetKeyModState(KMOD_SHIFT)) { in Update()
291 if (KeyInput::GetKeyModState(KMOD_CTRL)) { in KeyMove()
294 else if (KeyInput::GetKeyModState(KMOD_SHIFT)) { in KeyMove()
321 KeyInput::SetKeyModState(KMOD_CTRL, !prevCtrl); in MouseMove()
326 KeyInput::SetKeyModState(KMOD_ALT, prevAlt); in MouseMove()
327 KeyInput::SetKeyModState(KMOD_CTRL, prevCtrl); in MouseMove()
341 KeyInput::SetKeyModState(KMOD_ALT, prevAlt); in ScreenEdgeMove()
342 KeyInput::SetKeyModState(KMOD_CTRL, prevCtrl); in ScreenEdgeMove()
352 KeyInput::SetKeyModState(KMOD_CTRL, 0); in MouseWheelMove()
353 KeyInput::SetKeyModState(KMOD_SHIFT, 1); in MouseWheelMove()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/js/src/gc/
H A DWeakMap.h266 template <typename KeyInput, typename ValueInput>
276 template <typename KeyInput, typename ValueInput>
279 if (!Base::relookupOrAdd(p, std::forward<KeyInput>(k),
287 template <typename KeyInput, typename ValueInput>
288 MOZ_MUST_USE bool put(KeyInput&& k, ValueInput&& v) {
298 template <typename KeyInput, typename ValueInput>
305 template <typename KeyInput, typename ValueInput>
306 void putNewInfallible(KeyInput&& k, ValueInput&& v) {
313 template <typename KeyInput, typename ValueInput>
314 bool hasEntry(KeyInput&& key, ValueInput&& value) {
[all …]
H A DHashUtil.h35 template <class KeyInput, class ValueInput>
36 bool add(JSContext* cx, T& table, const KeyInput& key, in add()
46 template <class KeyInput>
47 void remove(JSContext* cx, T& table, const KeyInput& key) { in remove()
63 template <class KeyInput>
64 void refreshAddPtr(JSContext* cx, T& table, const KeyInput& key) { in refreshAddPtr()
/dports/devel/fifechan/fifechan-0.1.5/src/irrlicht/
H A Dirrlichtinput.cpp85 KeyInput IrrlichtInput::dequeueKeyInput() in dequeueKeyInput()
87 KeyInput keyInput; in dequeueKeyInput()
122 KeyInput keyInput; in pushInput()
201 value = (int)event.KeyInput.Char; in pushInput()
205 keyInput.setType(event.KeyInput.PressedDown ? KeyInput::Pressed : KeyInput::Released); in pushInput()
206 keyInput.setShiftPressed(event.KeyInput.Shift); in pushInput()
207 keyInput.setControlPressed(event.KeyInput.Control); in pushInput()
210 …keyInput.setNumericPad(event.KeyInput.Key >= irr::KEY_NUMPAD0 && event.KeyInput.Key <= irr::KEY_DI… in pushInput()
220 switch (event.KeyInput.Key) in convertIrrlichtEventToFifechanKeyValue()
250 mAltKeyDown = event.KeyInput.PressedDown; in convertIrrlichtEventToFifechanKeyValue()
[all …]
/dports/misc/actiona/actiona-3.10.1/actiontools/
H A Dkeyinput.cpp43 const Tools::StringListPair KeyInput::mKeyNames =
108 bool KeyInput::mInitDone = false;
109 unsigned long KeyInput::mNativeKey[] = {0};
111 KeyInput::KeyInput() in KeyInput() function in ActionTools::KeyInput
116 QString KeyInput::toTranslatedText() const in toTranslatedText()
128 QString KeyInput::toPortableText() const in toPortableText()
140 bool KeyInput::fromPortableText(const QString &key) in fromPortableText()
163 bool KeyInput::fromPortableText(const QString &key, bool isQtKey) in fromPortableText()
190 bool KeyInput::fromEvent(QKeyEvent *event) in fromEvent()
247 void KeyInput::init() in init()
/dports/lang/spidermonkey60/firefox-60.9.0/js/public/
H A DGCHashTable.h185 template <typename KeyInput, typename ValueInput>
191 template <typename KeyInput>
192 bool add(AddPtr& p, KeyInput&& k) { in add()
196 template <typename KeyInput, typename ValueInput>
203 bool put(KeyInput&& k, ValueInput&& v) { in put()
209 bool putNew(KeyInput&& k, ValueInput&& v) { in putNew()
523 template <typename KeyInput>
524 bool add(AddPtr& p, KeyInput&& k) { in add()
526 return map.add(p, Forward<KeyInput>(k)); in add()
542 bool put(KeyInput&& k, ValueInput&& v) { in put()
[all …]
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/
H A DCGUICheckBox.cpp42 if (event.KeyInput.PressedDown && in OnEvent()
43 (event.KeyInput.Key == IRR_KEY_RETURN || in OnEvent()
44 event.KeyInput.Key == IRR_KEY_SPACE)) in OnEvent()
50 if (Pressed && event.KeyInput.PressedDown && in OnEvent()
51 event.KeyInput.Key == IRR_KEY_ESCAPE) in OnEvent()
57 if (!event.KeyInput.PressedDown && Pressed && in OnEvent()
58 (event.KeyInput.Key == IRR_KEY_RETURN || in OnEvent()
59 event.KeyInput.Key == IRR_KEY_SPACE)) in OnEvent()
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/
H A DCGUICheckBox.cpp42 if (event.KeyInput.PressedDown && in OnEvent()
43 (event.KeyInput.Key == KEY_RETURN || event.KeyInput.Key == KEY_SPACE)) in OnEvent()
49 if (Pressed && event.KeyInput.PressedDown && event.KeyInput.Key == KEY_ESCAPE) in OnEvent()
55 if (!event.KeyInput.PressedDown && Pressed && in OnEvent()
56 (event.KeyInput.Key == KEY_RETURN || event.KeyInput.Key == KEY_SPACE)) in OnEvent()

12345678910>>...44