Rejoystick is a program that maps keypresses on your gamepad/joypad/joystick to keypresses on a keyboard when you are running X. (like qjoypad but with gtk ui)
Created attachment 146795 [details] ebuild draft Ok it compiles fine. 1) it don't have configure at all so abuse its mantainer to fix it 2) it don't have make install so abuse its mantainer to fix it 3) when i tried to test it, it ends up on Xlib: connection to ":0.0" refused by server Xlib: No protocol specified error occured: Failed to init sdl with joystick. Exiting... might be some problem on my side, but there is no other requirement mentioned on its page
should also DEPEND on x11-libs/libXtst
and... it works perfect for me
> error occured: Failed to init sdl with joystick. Exiting... do you have libsdl built with "nojoystick" ?
Nope, i quite understand to what i am doing :) This was first what i tested, there is no debug mode so i can't get more info from this app.
Created attachment 146849 [details] added missing dep.
[I] media-libs/libsdl Installed versions: 1.2.13(05:02:46 PM 01/27/2008)(X aalib alsa arts fbcon libcaca opengl oss svga xinerama xv -custom-cflags -dga -directfb -esd -ggi -nas -noaudio -nojoystick -novideo -pulseaudio) use for my libsdl
there is 0.8 out since March 26, 2008 Tomas, have you tried it?
> error occured: Failed to init sdl with joystick. Exiting... For me, the _real_ error SDL reported was "Unable to init SDL: Unable to open a console terminal". I found this out by modifying the code to provide more information. A quick fix is running "xhost +localhost" and start rejoystick as root :)
Created attachment 202453 [details] rejoystick-0.8.1.ebuild Ok guys. I have created the ebuild for newest version. Upstream has switched to some jojsticken which is written in java so no help from me in that area. I tested this ebuild as compilation+run, sadly no testing how it work with joystick sine mine died year ago and i had no need to replace it yet.