[Bug 231370] [PATCH] devel/sdl12: improve joystick support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 15 02:47:12 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231370

            Bug ID: 231370
           Summary: [PATCH] devel/sdl12: improve joystick support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: amdmi3 at FreeBSD.org
          Reporter: rozhuk.im at gmail.com
          Assignee: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)

Created attachment 197098
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=197098&action=edit
patch

1. Update BSD driver:
 - do not use uhid devices like keyboard as joystick
 - add env SDL_JOYSTICK_DEVICE variable handle
 - some small improvements: set verbose names, code formatting

2. Add option to able to compile with linux driver.


Without this patch dgen report that my keyboard is joystick with "0 axes, 0
button(s), 0 hat(s)" and do not see mine gamepad.
Now via BSD driver dgen see both mine gamepads.
With linux I test only with one gamepad.
All works OK.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list