parent
4aae66a050
commit
be2e86166f
@ -2390,7 +2390,7 @@ bool CIrrDeviceLinux::activateJoysticks(core::array<SJoystickInfo> & joystickInf
|
|||||||
returnInfo.Axes = info.axes;
|
returnInfo.Axes = info.axes;
|
||||||
returnInfo.Buttons = info.buttons;
|
returnInfo.Buttons = info.buttons;
|
||||||
|
|
||||||
#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
|
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
||||||
char name[80];
|
char name[80];
|
||||||
ioctl( info.fd, JSIOCGNAME(80), name);
|
ioctl( info.fd, JSIOCGNAME(80), name);
|
||||||
returnInfo.Name = name;
|
returnInfo.Name = name;
|
||||||
|
Loading…
Reference in New Issue
Block a user