MCPcopy Create free account
hub / github.com/SFML/SFML / getUdevAttribute

Function getUdevAttribute

src/SFML/Window/Unix/JoystickImpl.cpp:277–280  ·  view source on GitHub ↗

Get a property value from a udev device

Source from the content-addressed store, hash-verified

275
276// Get a property value from a udev device
277const char* getUdevAttribute(udev_device* udevDevice, const std::string& attributeName)
278{
279 return udev_device_get_property_value(udevDevice, attributeName.c_str());
280}
281
282// Get a system attribute from a USB device
283const char* getUsbAttribute(udev_device* udevDevice, const std::string& attributeName)

Callers 1

getUdevAttributeUintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected