Home
last modified time | relevance | path

Searched refs:IsPressed (Results 1 – 25 of 159) sorted by relevance

1234567

/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DJissenMahjongController.h60 (IsPressed(JissenMahjongController::Buttons::N) ? 0x04 : 0) | in RefreshStateBuffer()
61 (IsPressed(JissenMahjongController::Buttons::M) ? 0x08 : 0) | in RefreshStateBuffer()
62 (IsPressed(JissenMahjongController::Buttons::L) ? 0x10 : 0) | in RefreshStateBuffer()
63 (IsPressed(JissenMahjongController::Buttons::K) ? 0x20 : 0) | in RefreshStateBuffer()
64 (IsPressed(JissenMahjongController::Buttons::J) ? 0x40 : 0) | in RefreshStateBuffer()
65 (IsPressed(JissenMahjongController::Buttons::I) ? 0x80 : 0); in RefreshStateBuffer()
70 (IsPressed(JissenMahjongController::Buttons::H) ? 0x01 : 0) | in RefreshStateBuffer()
71 (IsPressed(JissenMahjongController::Buttons::G) ? 0x02 : 0) | in RefreshStateBuffer()
72 (IsPressed(JissenMahjongController::Buttons::F) ? 0x04 : 0) | in RefreshStateBuffer()
73 (IsPressed(JissenMahjongController::Buttons::E) ? 0x08 : 0) | in RefreshStateBuffer()
[all …]
H A DSnesController.h41 (uint8_t)IsPressed(Buttons::B) | in ToByte()
42 ((uint8_t)IsPressed(Buttons::Y) << 1) | in ToByte()
44 ((uint8_t)IsPressed(Buttons::Start) << 3) | in ToByte()
45 ((uint8_t)IsPressed(Buttons::Up) << 4) | in ToByte()
46 ((uint8_t)IsPressed(Buttons::Down) << 5) | in ToByte()
47 ((uint8_t)IsPressed(Buttons::Left) << 6) | in ToByte()
48 ((uint8_t)IsPressed(Buttons::Right) << 7) | in ToByte()
49 ((uint8_t)IsPressed(Buttons::A) << 8) | in ToByte()
50 ((uint8_t)IsPressed(Buttons::X) << 9) | in ToByte()
51 ((uint8_t)IsPressed(Buttons::L) << 10) | in ToByte()
[all …]
H A DStandardController.h54 if(IsPressed(Buttons::Up) && IsPressed(Buttons::Down)) { in InternalSetStateFromInput()
57 if(IsPressed(Buttons::Left) && IsPressed(Buttons::Right)) { in InternalSetStateFromInput()
91 (uint8_t)IsPressed(Buttons::A) | in ToByte()
92 ((uint8_t)IsPressed(Buttons::B) << 1) | in ToByte()
93 ((uint8_t)IsPressed(Buttons::Select) << 2) | in ToByte()
94 ((uint8_t)IsPressed(Buttons::Start) << 3) | in ToByte()
95 ((uint8_t)IsPressed(Buttons::Up) << 4) | in ToByte()
96 ((uint8_t)IsPressed(Buttons::Down) << 5) | in ToByte()
97 ((uint8_t)IsPressed(Buttons::Left) << 6) | in ToByte()
98 ((uint8_t)IsPressed(Buttons::Right) << 7); in ToByte()
[all …]
H A DExcitingBoxingController.h42 (IsPressed(ExcitingBoxingController::Buttons::LeftHook) ? 0 : 0x02) | in ReadRAM()
43 (IsPressed(ExcitingBoxingController::Buttons::MoveRight) ? 0 : 0x04) | in ReadRAM()
44 (IsPressed(ExcitingBoxingController::Buttons::MoveLeft) ? 0 : 0x08) | in ReadRAM()
45 (IsPressed(ExcitingBoxingController::Buttons::RightHook) ? 0 : 0x10); in ReadRAM()
48 (IsPressed(ExcitingBoxingController::Buttons::LeftJab) ? 0 : 0x02) | in ReadRAM()
49 (IsPressed(ExcitingBoxingController::Buttons::HitBody) ? 0 : 0x04) | in ReadRAM()
50 (IsPressed(ExcitingBoxingController::Buttons::RightJab) ? 0 : 0x08) | in ReadRAM()
51 (IsPressed(ExcitingBoxingController::Buttons::Straight) ? 0 : 0x10); in ReadRAM()
H A DPartyTap.h61 IsPressed(PartyTap::Buttons::B1) ? 1 : 0 | in RefreshStateBuffer()
62 IsPressed(PartyTap::Buttons::B2) ? 2 : 0 | in RefreshStateBuffer()
63 IsPressed(PartyTap::Buttons::B3) ? 4 : 0 | in RefreshStateBuffer()
64 IsPressed(PartyTap::Buttons::B4) ? 8 : 0 | in RefreshStateBuffer()
65 IsPressed(PartyTap::Buttons::B5) ? 16 : 0 | in RefreshStateBuffer()
66 IsPressed(PartyTap::Buttons::B6) ? 32 : 0; in RefreshStateBuffer()
H A DKonamiHyperShot.h69 output |= IsPressed(KonamiHyperShot::Buttons::Player1Jump) ? 0x02 : 0; in ReadRAM()
70 output |= IsPressed(KonamiHyperShot::Buttons::Player1Run) ? 0x04 : 0; in ReadRAM()
73 output |= IsPressed(KonamiHyperShot::Buttons::Player2Jump) ? 0x08 : 0; in ReadRAM()
74 output |= IsPressed(KonamiHyperShot::Buttons::Player2Run) ? 0x10 : 0; in ReadRAM()
H A DSuborMouse.h77 (IsPressed(SuborMouse::Buttons::Left) ? 0x80 : 0) | in RefreshStateBuffer()
78 (IsPressed(SuborMouse::Buttons::Right) ? 0x40 : 0) | in RefreshStateBuffer()
88 (IsPressed(SuborMouse::Buttons::Left) ? 0x80 : 0) | in RefreshStateBuffer()
89 (IsPressed(SuborMouse::Buttons::Right) ? 0x40 : 0) | in RefreshStateBuffer()
H A DBandaiMicrophone.h40 (IsPressed(Buttons::A) ? 0 : 0x01) | in ReadRAM()
41 (IsPressed(Buttons::B) ? 0 : 0x02) | in ReadRAM()
42 (IsPressed(Buttons::Microphone) ? 0x04 : 0); in ReadRAM()
H A DVsSystemActionManager.h46 if(IsPressed(VsSystemActionManager::VsButtons::InsertCoin1)) { in ReadRAM()
49 if(IsPressed(VsSystemActionManager::VsButtons::InsertCoin2)) { in ReadRAM()
52 if(IsPressed(VsSystemActionManager::VsButtons::ServiceButton)) { in ReadRAM()
H A DBaseControlDevice.cpp136 output += IsPressed((uint8_t)i) ? keyNames[i] : '.'; in GetTextState()
174 bool BaseControlDevice::IsPressed(uint8_t bit) in IsPressed() function in BaseControlDevice
209 if(IsPressed(bit)) { in InvertBit()
274 bool pressed1 = state1->IsPressed(button1); in SwapButtons()
275 bool pressed2 = state2->IsPressed(button2); in SwapButtons()
/dports/games/xkoules/koules1.4/svgalib/
H A Dinput.h31 #define IsPressed(scancode) keyboard_keypressed(scancode) macro
88 #define IsPressedEsc() IsPressed (SCANCODE_ESCAPE)
90 #define IsPressedP() IsPressed (SCANCODE_P)
91 #define IsPressedH() IsPressed (35)
93 #define IsPressedEnter() (IsPressed (SCANCODE_ENTER)||\
94 IsPressed (SCANCODE_SPACE)||\
97 #define IsPressedUp() (IsPressed (SCANCODE_CURSORUP) ||\
98 IsPressed (SCANCODE_CURSORBLOCKUP))
101 IsPressed (SCANCODE_CURSORBLOCKDOWN))
103 IsPressed (SCANCODE_CURSORBLOCKLEFT))
[all …]
/dports/japanese/uim-mozc/mozc-2.23.2815.102.01/src/unix/ibus/
H A Dkey_event_handler_test.cc93 bool IsPressed(guint keyval) const { in IsPressed() function in mozc::ibus::KeyEventHandlerTest
225 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
231 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
237 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
280 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
287 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
294 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
339 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
367 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
374 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
[all …]
/dports/japanese/ibus-mozc/mozc-2.23.2815.102.01/src/unix/ibus/
H A Dkey_event_handler_test.cc93 bool IsPressed(guint keyval) const { in IsPressed() function in mozc::ibus::KeyEventHandlerTest
225 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
231 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
237 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
280 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
287 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
294 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
339 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
367 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
374 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
[all …]
/dports/japanese/mozc-tool/mozc-2.23.2815.102.01/src/unix/ibus/
H A Dkey_event_handler_test.cc93 bool IsPressed(guint keyval) const { in IsPressed() function in mozc::ibus::KeyEventHandlerTest
225 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
231 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
237 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
280 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
287 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
294 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
339 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
367 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
374 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
[all …]
/dports/japanese/mozc-server/mozc-2.23.2815.102.01/src/unix/ibus/
H A Dkey_event_handler_test.cc93 bool IsPressed(guint keyval) const { in IsPressed() function in mozc::ibus::KeyEventHandlerTest
225 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
231 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
237 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
280 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
287 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
294 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
339 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
367 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
374 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
[all …]
/dports/japanese/mozc-el/mozc-2.23.2815.102.01/src/unix/ibus/
H A Dkey_event_handler_test.cc93 bool IsPressed(guint keyval) const { in IsPressed() function in mozc::ibus::KeyEventHandlerTest
225 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
231 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
237 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
280 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
287 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
294 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
339 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
367 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
374 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
[all …]
/dports/japanese/fcitx-mozc/mozc-2.23.2815.102.01/src/unix/ibus/
H A Dkey_event_handler_test.cc93 bool IsPressed(guint keyval) const { in IsPressed() function in mozc::ibus::KeyEventHandlerTest
225 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
231 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
237 EXPECT_FALSE(IsPressed(IBUS_Shift_L)); in TEST_F()
280 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
287 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
294 EXPECT_TRUE(IsPressed(IBUS_Alt_L)); in TEST_F()
339 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
367 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
374 EXPECT_TRUE(IsPressed(IBUS_Shift_L)); in TEST_F()
[all …]
/dports/editors/cudatext/CudaText-1.151.0/atflatcontrols/atflatcontrols/
H A Datbuttons.pas154 function IsPressed: boolean; in IsPressed() function
344 function TATButton.IsPressed: boolean; in IsPressed() function
475 if IsPressed then
507 IfThen(IsPressed, Theme^.PressedCaptionShiftY);
515 IfThen(IsPressed, Theme^.PressedCaptionShiftX);
517 IfThen(IsPressed, Theme^.PressedCaptionShiftY);
525 IfThen(IsPressed, Theme^.PressedCaptionShiftX);
527 IfThen(IsPressed, Theme^.PressedCaptionShiftY);
532 IfThen(IsPressed, Theme^.PressedCaptionShiftY);
540 IfThen(IsPressed, Theme^.PressedCaptionShiftX);
[all …]
/dports/science/py-pymol/pymol-open-source-2.4.0/contrib/vr/
H A DOpenVRMode.cpp795 bool nowPressed = action->IsPressed(); in ProcessButtonDragAsMouse()
836 if (Actions->LGrip->IsPressed() && Actions->RGrip->IsPressed()) { in OpenVRGetMolecule2WorldMatrix()
915 I->Hands[HLeft].pressGrip(Actions->LGrip->IsPressed()); in OpenVRHandleInput()
916 I->Hands[HRight].pressGrip(Actions->RGrip->IsPressed()); in OpenVRHandleInput()
921 if (Actions->LGrip->WasPressed() && !Actions->RGrip->IsPressed()) { in OpenVRHandleInput()
985 if (action->IsPressed()) in OpenVRHandleInput()
989 if (action->IsPressed()) in OpenVRHandleInput()
993 if (action->IsPressed()) in OpenVRHandleInput()
997 if (action->IsPressed()) in OpenVRHandleInput()
1001 if (action->IsPressed()) in OpenVRHandleInput()
[all …]
/dports/cad/opencascade/opencascade-7.6.0/inc/
H A DAspect_XRDigitalActionData.hxx25 …bool IsPressed; //!< Aspect_InputActionType_Digital state - The current state of this actio… member
29 …Aspect_XRDigitalActionData() : ActiveOrigin (0), UpdateTime (0.0f), IsActive (false), IsPressed (f… in Aspect_XRDigitalActionData()
/dports/cad/opencascade/opencascade-7.6.0/src/Aspect/
H A DAspect_XRDigitalActionData.hxx25 …bool IsPressed; //!< Aspect_InputActionType_Digital state - The current state of this actio… member
29 …Aspect_XRDigitalActionData() : ActiveOrigin (0), UpdateTime (0.0f), IsActive (false), IsPressed (f… in Aspect_XRDigitalActionData()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Windows/
H A DWindowsKeyManager.cpp295 return _directInput->IsPressed(gamepadPort, gamepadButton); in IsKeyPressed()
300 return _xInput->IsPressed(gamepadPort, gamepadButton); in IsKeyPressed()
329 if(_xInput->IsPressed(i, j)) { in GetPressedKeys()
338 if(_directInput->IsPressed(i, j)) { in GetPressedKeys()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/input/joysticks/keymaps/
H A DKeyHandler.cpp74 const bool bPressed = IsPressed(magnitude); in OnAnalogMotion()
188 const bool bPressed = IsPressed(magnitude); in ProcessActions()
247 else if (IsPressed(magnitude)) in ProcessAction()
287 bool CKeyHandler::IsPressed(float magnitude) in IsPressed() function in CKeyHandler
/dports/comms/openzwave/open-zwave-f339aa6/cpp/src/value_classes/
H A DValueButton.h55 virtual string const GetAsString() const { return ( IsPressed() ? "true" : "false" ); } in GetAsString()
61 bool IsPressed()const{ return m_pressed; } in IsPressed() function
/dports/comms/openzwave-devel/open-zwave-14f2ba74/cpp/src/value_classes/
H A DValueButton.h64 return (IsPressed() ? "true" : "false"); in GetAsString()
71 bool IsPressed() const in IsPressed() function

1234567