TheGuyThatSleepsTooMuch / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Can't detect evdev joysticks. #632

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
 - Operating System (be specific): Arch Linux
 - Machine type (32-bit or 64-bit): 64 bit
 - Mupen64Plus version: 2.0.0 (From Arch repos)
 - Plugins used: mupen64plus-input-sdl

I'm connecting my wiimote to my pc via bluetooth using XWiimote.
While /dev/input/event works and reports all the keystrokes, /dev/input/js 
fails to report d-pad events.
This is why I wanted to use the /dev/input/event (evdev) joystick, but, for 
some reason, mupen64plus refuses to detect it. When I remove the joystick 
kernel module, it says there are 0 SDL joysticks.

Original issue reported on code.google.com by esteve.v...@gmail.com on 23 Sep 2014 at 10:39

GoogleCodeExporter commented 8 years ago
This is not really a mupen64plus problem because it doesn't use the device 
files at all. Instead SDL is used for that. js is used by SDL and event is used 
by SDL2. So please compile it against SDL2

Original comment by conc...@web.de on 23 Sep 2014 at 2:36

GoogleCodeExporter commented 8 years ago
I already suspected that, but I thought that maybe it was also controlled via 
the application, as I sdl2-jstest (On github: Grumbel/sdl-jstest) didn't detect 
it either.
Other than that, I can't find any instructions on how to compile with SDL2.

Original comment by esteve.v...@gmail.com on 23 Sep 2014 at 4:34

GoogleCodeExporter commented 8 years ago
when sdl2-jstest cannot detect it then contact the SDL2 maintainers.

About SDL2. Ubuntu already compiles against SDL2. So please contact the Arch 
mupen64plus maintainer to do change his build scripts to match the Ubuntu build 
scripts.

Original comment by conc...@web.de on 23 Sep 2014 at 7:10