MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / getInputConfigByDevice

Method getInputConfigByDevice

src/InputManager.cpp:236–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234void InputManager::setNumPlayers(int num) { mNumPlayers = num; }
235
236InputConfig* InputManager::getInputConfigByDevice(int device)
237{
238 if(device == DEVICE_KEYBOARD)
239 return mKeyboardInputConfig;
240 else
241 return mInputConfigs[device];
242}
243
244InputConfig* InputManager::getInputConfigByPlayer(int player)
245{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected