MCPcopy Create free account
hub / github.com/citron-neo/emulator / PreSetController

Method PreSetController

src/input_common/input_engine.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace InputCommon {
8
9void InputEngine::PreSetController(const PadIdentifier& identifier) {
10 std::scoped_lock lock{mutex};
11 controller_list.try_emplace(identifier);
12}
13
14void InputEngine::PreSetButton(const PadIdentifier& identifier, int button) {
15 std::scoped_lock lock{mutex};

Callers 12

CreateButtonDeviceMethod · 0.80
CreateHatButtonDeviceMethod · 0.80
CreateStickDeviceMethod · 0.80
CreateAnalogDeviceMethod · 0.80
CreateTriggerDeviceMethod · 0.80
CreateTouchDeviceMethod · 0.80
CreateBatteryDeviceMethod · 0.80
CreateColorDeviceMethod · 0.80
CreateMotionDeviceMethod · 0.80
CreateCameraDeviceMethod · 0.80
CreateNfcDeviceMethod · 0.80
CreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected