FreeBSD Bugzilla – Attachment 241330 Details for
Bug 270676
games/flightgear: Joystick hatmap incorrect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Update patch file
patch-3rdparty-joystick-jsBSD.cxx (text/plain), 614 bytes, created by
Stephen Hurd
on 2023-04-06 23:07:50 UTC
(
hide
)
Description:
Update patch file
Filename:
MIME Type:
Creator:
Stephen Hurd
Created:
2023-04-06 23:07:50 UTC
Size:
614 bytes
patch
obsolete
>--- 3rdparty/joystick/jsBSD.cxx.orig 2023-04-06 22:54:31 UTC >+++ 3rdparty/joystick/jsBSD.cxx >@@ -52,6 +52,7 @@ > #include <sys/param.h> > #include <fcntl.h> > >+#include <unistd.h> > #include <string.h> > #include <errno.h> > #include <sys/ioctl.h> >@@ -87,8 +88,8 @@ extern "C" { > #endif > #endif > >-static int hatmap_x[9] = { 0, 0, 1, 1, 1, 0, -1, -1, -1 }; >-static int hatmap_y[9] = { 0, 1, 1, 0, -1, -1, -1, 0, 1 }; >+static int hatmap_x[9] = { 0, 1, 1, 1, 0, -1, -1, -1, 0 }; >+static int hatmap_y[9] = { -1, -1, 0, 1, 1, 1, 0, -1, 0 }; > struct os_specific_s { > char fname [128 ]; > int fd;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 270676
:
241330
|
241342