blob: eddb4a2a427cc6f689ac9c59e00cb2dc73721f3f (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
const char *
libgamepad_get_absolute_axis_name(const struct libgamepad_device *device, uint16_t code)
{
if (device)
return NULL;
if ((size_t)code > ELEMSOF(libgamepad_absolute_axis_names__))
return NULL;
return libgamepad_absolute_axis_names__[code];
}
|