MCPcopy Create free account
hub / github.com/AntiMicroX/antimicrox / hasSensor

Method hasSensor

src/inputdevice.cpp:594–594  ·  view source on GitHub ↗

* @brief Checks if this input device has a sensor of given type * @returns True if sensor is present, false otherwise */

Source from the content-addressed store, hash-verified

592 * @returns True if sensor is present, false otherwise
593 */
594bool InputDevice::hasSensor(JoySensorType type) { return getActiveSetJoystick()->hasSensor(type); }
595
596int InputDevice::getNumberVDPads() { return getActiveSetJoystick()->getNumberVDPads(); }
597

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected