getHapticName method
Get the implementation dependent name of a haptic device.
Implementation
String getHapticName(final int index) {
final pointer = sdl.SDL_HapticName(index);
if (pointer == nullptr) {
throw SdlError(index, getError());
}
return pointer.cast<Utf8>().toDartString();
}