mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Renamed struct member to match other platforms.
This commit is contained in:
parent
42c78fbe42
commit
3a773342e8
|
@ -68,7 +68,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
int present;
|
||||
char product[256];
|
||||
char name[256];
|
||||
|
||||
IOHIDDeviceInterface** interface;
|
||||
|
||||
|
@ -443,8 +443,8 @@ void _glfwInitJoysticks(void)
|
|||
if (refCF)
|
||||
{
|
||||
CFStringGetCString(refCF,
|
||||
joystick->product,
|
||||
sizeof(joystick->product),
|
||||
joystick->name,
|
||||
sizeof(joystick->name),
|
||||
kCFStringEncodingUTF8);
|
||||
}
|
||||
|
||||
|
@ -632,6 +632,6 @@ int _glfwPlatformGetJoystickButtons(int joy, unsigned char* buttons,
|
|||
|
||||
const char* _glfwPlatformGetJoystickName(int joy)
|
||||
{
|
||||
return _glfwJoysticks[joy].product;
|
||||
return _glfwJoysticks[joy].name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user