- --
Viewing Issue Advanced Details
[ Jump to Notes ]
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
06108 | Interface | Major | Always | Dec 27, 2015, 05:02 | Jan 3, 2016, 04:20 |
Tester | msutton | View Status | Public | Platform | MAME (Self-compiled) |
Assigned To | Resolution | No change required | OS | Linux | |
Status [?] | Closed | Driver | |||
Version | 0.168 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 06108: Joystick not working when built with SDL2 | ||||
Description |
I have an Ultimarc Ultra-Stik 360 joystick, MAME receives no input from my joystick when built with SDL2 support (version 2.0.3). It detects the joystick on MAME startup but does not work inside MAME. I have attached the output from startup. When compiled with SDL1 (SDL_LIBVER = sdl) the joysticks work fine. |
||||
Steps To Reproduce | |||||
Additional Information | |||||
Github Commit | |||||
Flags | SDL specific | ||||
Regression Version | |||||
Affected Sets / Systems | |||||
Attached Files
|
out.txt (4,177 bytes) Dec 27, 2015, 05:02 Uploaded by msutton [Show Content] [Hide Content]Available videodrivers: x11 dummy Current Videodriver: x11 Display #0 Renderdrivers: opengl (0x0) software (0x0) Available audio drivers: alsa disk dummy Build version: 0.168 (Dec 20 2015) Build architecure: Build defines 1: SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 Build defines 1: LSB_FIRST=1 PTR64=1 SYNC_IMPLEMENTATION=tc SDL/OpenGL defines: SDL_COMPILEDVERSION=2003 USE_OPENGL=1 Compiler defines A: __GNUC__=4 __GNUC_MINOR__=9 __GNUC_PATCHLEVEL__=3 __VERSION__="4.9.3" Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1 Compiler defines C: __USE_FORTIFY_LEVEL=0 Enter init_monitors Adding monitor screen0 (512 x 384) Leave init_monitors Enter sdlwindow_init Using SDL multi-window soft driver (SDL 2.0+) Hints: SDL_FRAMEBUFFER_ACCELERATION (null) SDL_RENDER_DRIVER (null) SDL_RENDER_OPENGL_SHADERS (null) SDL_RENDER_SCALE_QUALITY (null) SDL_RENDER_VSYNC (null) SDL_VIDEO_X11_XVIDMODE (null) SDL_VIDEO_X11_XINERAMA (null) SDL_VIDEO_X11_XRANDR (null) SDL_GRAB_KEYBOARD (null) SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS (null) SDL_IOS_IDLE_TIMER_DISABLED (null) SDL_IOS_ORIENTATIONS (null) SDL_XINPUT_ENABLED (null) SDL_GAMECONTROLLERCONFIG (null) SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS (null) SDL_ALLOW_TOPMOST (null) SDL_TIMER_RESOLUTION (null) SDL_RENDER_DIRECT3D_THREADSAFE (null) SDL_VIDEO_ALLOW_SCREENSAVER (null) SDL_ACCELEROMETER_AS_JOYSTICK (null) SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK (null) SDL_VIDEO_WIN_D3DCOMPILER (null) SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT (null) SDL_VIDEO_MAC_FULLSCREEN_SPACES (null) SDL_MOUSE_RELATIVE_MODE_WARP (null) SDL_HINT_RENDER_DIRECT3D11_DEBUG (null) SDL_VIDEO_HIGHDPI_DISABLED (null) SDL_HINT_WINRT_PRIVACY_POLICY_URL (null) SDL_HINT_WINRT_PRIVACY_POLICY_LABEL (null) SDL_HINT_WINRT_HANDLE_BACK_BUTTON (null) Leave sdlwindow_init Enter sdl_info::create window: using renderer opengl renderer: flag SDL_RENDERER_ACCELERATED Leave sdl_info::create Keyboard: Start initialization Input: Adding Kbd #0: System keyboard Keyboard: Registered System keyboard Keyboard: End initialization Mouse: Start initialization Input: Adding Mouse #0: System mouse Mouse: Registered System mouse Mouse: End initialization Joystick mapping: Logical id 1: Ultimarc Ultra-Stik Ultimarc Ultra-Stik Player 2 Joystick: Start initialization Input: Adding Joy #0: Ultimarc Ultra-Stik Ultimarc Ultra-Stik Player 2 Joystick: Ultimarc Ultra-Stik Ultimarc Ultra-Stik Player 2 Joystick: ... 2 axes, 16 buttons 0 hats 0 balls Joystick: ... Physical id 0 mapped to logical id 1 Input: Adding Joy #1: NC1 Input: Adding Joy #2: NC2 Input: Adding Joy #3: NC3 Input: Adding Joy #4: NC4 Input: Adding Joy #5: NC5 Input: Adding Joy #6: NC6 Input: Adding Joy #7: NC7 Input: Adding Joy #8: NC8 Input: Adding Joy #9: NC9 Input: Adding Joy #10: NC10 Input: Adding Joy #11: NC11 Input: Adding Joy #12: NC12 Input: Adding Joy #13: NC13 Input: Adding Joy #14: NC14 Input: Adding Joy #15: NC15 Joystick: End initialization output: opened output notifier file /tmp/sdlmame_out Audio: Start initialization Audio: Driver is alsa Audio: frequency: 11025, channels: 2, samples: 352 sdl_create_buffers: creating stream buffer of 7168 bytes Audio: End initialization Region ':user1' created Searching font Liberation Sans in -fontpath Matching font: /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf Starting No Driver Loaded ':' (missing dependencies; rescheduling) Starting Video Screen ':screen' Optional device 'finder_dummy_tag' not found Starting No Driver Loaded ':' sdl_kill: closing audio Enter sdlwindow_exit Leave sdlwindow_exit Joystick: Start deinitialization Joystick: End deinitialization output: closed output notifier file | ||||
Relationships
There are no relationship linked to this issue. |
Notes
5
No.12290
NekoEd Senior Tester
Dec 29, 2015, 20:44
edited on: Dec 29, 2015, 21:28 |
Works for me. SDLMAME64 0.168 on Linux/x64. |
---|---|
No.12292
mahlemiut Developer
Dec 29, 2015, 22:31
|
Tested with both my OzStick and Sidewinder Freestyle Pro. Both work fine (Ubuntu 10.04, x86_64). |
No.12311
B2K24 Senior Tester
Jan 2, 2016, 00:28
|
This bug isn't new anymore so what to do with it? Seems to be a SDL issue rather than MAME related. |
No.12312
msutton Tester
Jan 2, 2016, 04:58
|
I contacted Andy at Ultimarc, the maker of the joystick. He said he has a new firmware he is going to load on my joysticks. I shipped the PCB to him, I am hoping that will fix it. I tested with my Gravis GamePad Pro and Xbox One controller and they work fine. Looks to be a joystick specific issue. We can close the bug. |
No.12318
B2K24 Senior Tester
Jan 3, 2016, 04:20
|
closing per request of the reporter. |