Keymapping utiltity
RejoysTick is a program that will map keyboard key events to your gamepad, thus giving you "gamepad support" for games that doesn't even have gamepad support. It's licensed under the GPL.
License: free
Requirements: Since it uses Gtk, SDL and X a lot of *nixes should run this. Please try with different ones since I've only tried with GNU/Linux.
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| no | yes | no | no | no | no | yes |
Submitted by samel_tvom on 2007-03-12.

I think this SDL project is a good idea. Exactly how do you pass SDL joypad events to X? I'd be interested to know.
Once running in the background it remains there. Shouldn't there be a -u uninstall option?
Needs a graphical GUI for setting-up the controls.
I've been adding joystick support to an SDL game and I've learnt a lot about joysticks over the last few weeks. My MS SideWinder Game Pad Pro for example - which I'm glad now I have for testing reasons - has a direction pad that is analogue in a limited way. Sometimes it behaves as you would expect: pressing left (axis 0) fires values between -32767 and 0, other times it fires -32767 and then straight back to 0! The point is if you rely on a low value to "release" the axis press that doesn't include 0 you end up with stuck controls. I mention this because maybe you are assuming an analogue axis will fire lots of low values that you can use to "release" the press.
I am interested in seeing this project progress .
The RejoysTick website states this project does what [the developer] wants so I don't think it's going to get any further.
Hello users of rejoystick!
I'm taking a break (well, have already taken a break and I'm extending it :) so I won't work on RejoysTick for a while since I'm going to the Central African Republic for ten months and can't rely on internet access. However, if I get really bored and don't have stuff to do maybe this'll make me work more on the program. One never really can tell.
As for now, my goals for the next release is the following:
- Still launching RejoysTick from command line as before but now the configuration will be done by another program, that is written in gtk or qt or tcl/tk. The point of that is that some people don't like heavy dependencies and in this way one could write his RejoysTick config utility using his favorite toolkit. This doesn't mean one can not use a CLI to config the RejoysTick file(s). When this will happen I would really like it if people could help write config utilities in gtk or qt. If somebody is skilled in this, let me know.
- Fixing that damn axis problem :) The reason I haven't fixed it is simply that I only have D-pads on my gamepad so I don't really need the feature. But I'll ge one...eventually!
If somebody feels like hacking away and making cool improvements, send me a mail with the program and if it's cool I'll link it from the website. This way there will still be development will I'm away.I appreciate any comments!
Regards, Samuel
In the future I will include an option to compile without the gui hence getting rid of horrible dependencies. But then you have to manually edit the layout file with a text editor.
Anyway, hope you'll like it!
Samuel
I just tried it with my crappy game pad on my computer game and it worked. The only problem I had other than not reading the instructions was that if you change the config after it is running you need to kill the daemon by hand. It would be nice to add some switches so that you could tell it to reload the config file. Another thing is if it is already running as daemon it should not start another process until the one already running is killed/stopped. I ended up with three running and that does not work very well.
You mentioned about building it without the GUI maybe you could have a separate build target in the Makefile that only builds the daemon part and a sample config file for people to get started with. That way they don't need the GUI
Note to self: add joystick support to my game so this is not required.