Home
last modified time | relevance | path

Searched refs:KeyButton (Results 1 – 25 of 95) sorted by relevance

1234

/dports/sysutils/barrier/barrier-2.3.3/src/lib/platform/
H A DMSWindowsKeyState.h94 KeyButton virtualKeyToButton(UINT virtualKey) const;
124 KeyID getKeyID(UINT virtualKey, KeyButton button) const;
132 UINT mapButtonToVirtualKey(KeyButton button) const;
138 KeyButton button);
140 SInt32 count, KeyButton button);
148 virtual void onKey(KeyButton button, bool down,
153 SInt32 count, KeyButton button);
156 KeyButton getLastDown() const { return m_lastDown; } in getLastDown()
178 KeyButton button, UINT virtualKey,
199 KeyButton m_virtualKeyToButton[256];
[all …]
H A DMSWindowsKeyState.cpp635 KeyButton
773 SInt32 count, KeyButton button) in sendKeyEvent()
797 KeyButton button) in fakeKeyDown()
804 SInt32 count, KeyButton button) in fakeKeyRepeat()
914 for (KeyButton i = 1; i < 256; ++i) { in pollPressedKeys()
952 for (KeyButton i = 1; i < 256; ++i) { in getKeyMap()
1048 KeyButton button = static_cast<KeyButton>(MapVirtualKey(i, 0)); in getKeyMap()
1095 for (KeyButton i = 0; i < 512; ++i) { in getKeyMap()
1110 for (KeyButton i = 0; i < 512; ++i) { in getKeyMap()
1143 KeyButton button = static_cast<KeyButton>(i & 0xffu); in getKeyMap()
[all …]
/dports/sysutils/synergy/synergy-core-1.14.0.4-stable/src/lib/platform/
H A DMSWindowsKeyState.h95 KeyButton virtualKeyToButton(UINT virtualKey) const;
125 KeyID getKeyID(UINT virtualKey, KeyButton button) const;
133 UINT mapButtonToVirtualKey(KeyButton button) const;
139 KeyButton button);
141 SInt32 count, KeyButton button);
149 virtual void onKey(KeyButton button, bool down,
154 SInt32 count, KeyButton button);
157 KeyButton getLastDown() const { return m_lastDown; } in getLastDown()
179 KeyButton button, UINT virtualKey,
200 KeyButton m_virtualKeyToButton[256];
[all …]
H A DMSWindowsKeyState.cpp635 KeyButton
773 SInt32 count, KeyButton button) in sendKeyEvent()
797 KeyButton button) in fakeKeyDown()
804 SInt32 count, KeyButton button) in fakeKeyRepeat()
914 for (KeyButton i = 1; i < 256; ++i) { in pollPressedKeys()
952 for (KeyButton i = 1; i < 256; ++i) { in getKeyMap()
1048 KeyButton button = static_cast<KeyButton>(MapVirtualKey(i, 0)); in getKeyMap()
1102 for (KeyButton i = 0; i < 512; ++i) { in getKeyMap()
1117 for (KeyButton i = 0; i < 512; ++i) { in getKeyMap()
1150 KeyButton button = static_cast<KeyButton>(i & 0xffu); in getKeyMap()
[all …]
/dports/emulators/yuzu/yuzu-0b47f7a46/src/input_common/
H A Dkeyboard.cpp13 class KeyButton final : public Input::ButtonDevice { class
15 explicit KeyButton(std::shared_ptr<KeyButtonList> key_button_list_) in KeyButton() function in InputCommon::KeyButton
18 ~KeyButton() override;
33 KeyButton* key_button;
38 void AddKeyButton(int key_code, KeyButton* key_button) { in AddKeyButton()
43 void RemoveKeyButton(const KeyButton* key_button) { in RemoveKeyButton()
72 KeyButton::~KeyButton() { in ~KeyButton()
78 std::unique_ptr<KeyButton> button = std::make_unique<KeyButton>(key_button_list); in Create()
/dports/sysutils/barrier/barrier-2.3.3/src/lib/barrier/
H A DIKeyState.h45 static KeyInfo* alloc(KeyID, KeyModifierMask, KeyButton, SInt32 count);
46 static KeyInfo* alloc(KeyID, KeyModifierMask, KeyButton, SInt32 count,
59 KeyButton m_button;
65 typedef std::set<KeyButton> KeyButtonSet;
97 KeyButton button) = 0;
104 SInt32 count, KeyButton button) = 0;
110 virtual bool fakeKeyUp(KeyButton button) = 0;
142 virtual bool isKeyDown(KeyButton) const = 0;
H A DKeyState.h45 virtual void onKey(KeyButton button, bool down,
57 SInt32 count, KeyButton button);
70 KeyButton button);
72 SInt32 count, KeyButton button);
73 virtual bool fakeKeyUp(KeyButton button);
78 virtual bool isKeyDown(KeyButton) const;
86 SInt32 getKeyState(KeyButton keyButton) { return m_keys[keyButton]; } in getKeyState()
136 KeyButton getButton(KeyID id, SInt32 group) const;
192 void updateModifierKeyState(KeyButton button,
229 KeyButton m_serverKeys[kNumButtons];
H A DKeyState.cpp27 static const KeyButton kButtonMask = (KeyButton)(IKeyState::kNumButtons - 1);
449 SInt32 count, KeyButton button) in sendKeyEvent()
588 KeyButton localID = (KeyButton)(keyItem->m_button & kButtonMask); in fakeKeyDown()
605 SInt32 count, KeyButton serverID) in fakeKeyRepeat()
610 KeyButton oldLocalID = m_serverKeys[serverID]; in fakeKeyRepeat()
624 KeyButton localID = (KeyButton)(keyItem->m_button & kButtonMask); in fakeKeyRepeat()
665 KeyState::fakeKeyUp(KeyButton serverID) in fakeKeyUp()
713 for (KeyButton i = 0; i < IKeyState::kNumButtons; ++i) { in fakeAllKeysUp()
733 KeyState::isKeyDown(KeyButton button) const in isKeyDown()
770 KeyButton
[all …]
H A DKeyMap.h51 KeyButton m_button; //!< Button to generate KeyID
83 Keystroke(KeyButton, bool press, bool repeat, UInt32 clientData);
89 KeyButton m_button; //!< Button to synthesize
117 typedef std::map<KeyButton, const KeyItem*> ButtonToKeyMap;
179 void addHalfDuplexButton(KeyButton button);
255 virtual bool isHalfDuplex(KeyID key, KeyButton button) const;
388 const KeyItem* keyForModifier(KeyButton button, SInt32 group,
420 bool keysForModifierState(KeyButton button, SInt32 group,
463 typedef std::set<KeyButton> KeyButtonSet;
/dports/sysutils/synergy/synergy-core-1.14.0.4-stable/src/lib/synergy/
H A DIKeyState.h45 static KeyInfo* alloc(KeyID, KeyModifierMask, KeyButton, SInt32 count);
46 static KeyInfo* alloc(KeyID, KeyModifierMask, KeyButton, SInt32 count,
59 KeyButton m_button;
65 typedef std::set<KeyButton> KeyButtonSet;
97 KeyButton button) = 0;
104 SInt32 count, KeyButton button) = 0;
110 virtual bool fakeKeyUp(KeyButton button) = 0;
142 virtual bool isKeyDown(KeyButton) const = 0;
H A DKeyState.h45 virtual void onKey(KeyButton button, bool down,
57 SInt32 count, KeyButton button);
73 KeyButton button) override;
75 SInt32 count, KeyButton button) override;
76 bool fakeKeyUp(KeyButton button) override;
80 bool isKeyDown(KeyButton) const override;
90 SInt32 getKeyState(KeyButton keyButton) { return m_keys[keyButton]; } in getKeyState()
140 KeyButton getButton(KeyID id, SInt32 group) const;
196 void updateModifierKeyState(KeyButton button,
233 KeyButton m_serverKeys[kNumButtons];
H A DKeyState.cpp27 static const KeyButton kButtonMask = (KeyButton)(IKeyState::kNumButtons - 1);
449 SInt32 count, KeyButton button) in sendKeyEvent()
593 KeyButton localID = (KeyButton)(keyItem->m_button & kButtonMask); in fakeKeyDown()
610 SInt32 count, KeyButton serverID) in fakeKeyRepeat()
615 KeyButton oldLocalID = m_serverKeys[serverID]; in fakeKeyRepeat()
629 KeyButton localID = (KeyButton)(keyItem->m_button & kButtonMask); in fakeKeyRepeat()
670 KeyState::fakeKeyUp(KeyButton serverID) in fakeKeyUp()
718 for (KeyButton i = 0; i < IKeyState::kNumButtons; ++i) { in fakeAllKeysUp()
738 KeyState::isKeyDown(KeyButton button) const in isKeyDown()
775 KeyButton
[all …]
H A DKeyMap.h55 KeyButton m_button {}; //!< Button to generate KeyID
87 Keystroke(KeyButton, bool press, bool repeat, UInt32 clientData);
93 KeyButton m_button {}; //!< Button to synthesize
121 typedef std::map<KeyButton, const KeyItem*> ButtonToKeyMap;
183 void addHalfDuplexButton(KeyButton button);
259 virtual bool isHalfDuplex(KeyID key, KeyButton button) const;
408 const KeyItem* keyForModifier(KeyButton button, SInt32 group,
440 bool keysForModifierState(KeyButton button, SInt32 group,
483 typedef std::set<KeyButton> KeyButtonSet;
/dports/textproc/uim-gtk/uim-d1ac9d9/qt4/candwin/
H A Dcandidatetablewindow.cpp196 KeyButton *button = new KeyButton; in createLayout()
245 KeyButton *button = buttonArray[i][j]; in updateView()
270 KeyButton *b = buttonArray[row][column]; in updateView()
338 KeyButton::KeyButton() : m_index(-1) in KeyButton() function in KeyButton
343 QSize KeyButton::sizeHint() const in sizeHint()
352 void KeyButton::setIndex(int index) in setIndex()
357 int KeyButton::index() const in index()
362 void KeyButton::slotClicked() in slotClicked()
H A Dcandidatetablewindow.h47 class KeyButton; variable
82 KeyButton *buttonArray[TABLE_NR_ROWS][TABLE_NR_COLUMNS];
86 class KeyButton : public QPushButton
91 KeyButton();
/dports/textproc/uim-qt5/uim-d1ac9d9/qt4/candwin/
H A Dcandidatetablewindow.cpp196 KeyButton *button = new KeyButton; in createLayout()
245 KeyButton *button = buttonArray[i][j]; in updateView()
270 KeyButton *b = buttonArray[row][column]; in updateView()
338 KeyButton::KeyButton() : m_index(-1) in KeyButton() function in KeyButton
343 QSize KeyButton::sizeHint() const in sizeHint()
352 void KeyButton::setIndex(int index) in setIndex()
357 int KeyButton::index() const in index()
362 void KeyButton::slotClicked() in slotClicked()
H A Dcandidatetablewindow.h47 class KeyButton; variable
82 KeyButton *buttonArray[TABLE_NR_ROWS][TABLE_NR_COLUMNS];
86 class KeyButton : public QPushButton
91 KeyButton();
/dports/textproc/uim-m17nlib/uim-d1ac9d9/qt4/candwin/
H A Dcandidatetablewindow.cpp196 KeyButton *button = new KeyButton; in createLayout()
245 KeyButton *button = buttonArray[i][j]; in updateView()
270 KeyButton *b = buttonArray[row][column]; in updateView()
338 KeyButton::KeyButton() : m_index(-1) in KeyButton() function in KeyButton
343 QSize KeyButton::sizeHint() const in sizeHint()
352 void KeyButton::setIndex(int index) in setIndex()
357 int KeyButton::index() const in index()
362 void KeyButton::slotClicked() in slotClicked()
H A Dcandidatetablewindow.h47 class KeyButton; variable
82 KeyButton *buttonArray[TABLE_NR_ROWS][TABLE_NR_COLUMNS];
86 class KeyButton : public QPushButton
91 KeyButton();
/dports/textproc/uim-el/uim-d1ac9d9/qt4/candwin/
H A Dcandidatetablewindow.cpp196 KeyButton *button = new KeyButton; in createLayout()
245 KeyButton *button = buttonArray[i][j]; in updateView()
270 KeyButton *b = buttonArray[row][column]; in updateView()
338 KeyButton::KeyButton() : m_index(-1) in KeyButton() function in KeyButton
343 QSize KeyButton::sizeHint() const in sizeHint()
352 void KeyButton::setIndex(int index) in setIndex()
357 int KeyButton::index() const in index()
362 void KeyButton::slotClicked() in slotClicked()
H A Dcandidatetablewindow.h47 class KeyButton; variable
82 KeyButton *buttonArray[TABLE_NR_ROWS][TABLE_NR_COLUMNS];
86 class KeyButton : public QPushButton
91 KeyButton();
/dports/textproc/uim-gtk3/uim-d1ac9d9/qt4/candwin/
H A Dcandidatetablewindow.cpp196 KeyButton *button = new KeyButton; in createLayout()
245 KeyButton *button = buttonArray[i][j]; in updateView()
270 KeyButton *b = buttonArray[row][column]; in updateView()
338 KeyButton::KeyButton() : m_index(-1) in KeyButton() function in KeyButton
343 QSize KeyButton::sizeHint() const in sizeHint()
352 void KeyButton::setIndex(int index) in setIndex()
357 int KeyButton::index() const in index()
362 void KeyButton::slotClicked() in slotClicked()
H A Dcandidatetablewindow.h47 class KeyButton; variable
82 KeyButton *buttonArray[TABLE_NR_ROWS][TABLE_NR_COLUMNS];
86 class KeyButton : public QPushButton
91 KeyButton();
/dports/japanese/uim-anthy/uim-d1ac9d9/qt4/candwin/
H A Dcandidatetablewindow.cpp196 KeyButton *button = new KeyButton; in createLayout()
245 KeyButton *button = buttonArray[i][j]; in updateView()
270 KeyButton *b = buttonArray[row][column]; in updateView()
338 KeyButton::KeyButton() : m_index(-1) in KeyButton() function in KeyButton
343 QSize KeyButton::sizeHint() const in sizeHint()
352 void KeyButton::setIndex(int index) in setIndex()
357 int KeyButton::index() const in index()
362 void KeyButton::slotClicked() in slotClicked()
H A Dcandidatetablewindow.h47 class KeyButton; variable
82 KeyButton *buttonArray[TABLE_NR_ROWS][TABLE_NR_COLUMNS];
86 class KeyButton : public QPushButton
91 KeyButton();

1234