I’ve found a solution. It’s called rejoystick and it does wonders.
So, install by either using the .deb, the .rpm or by compiling (it’ll complain when you don’t meet the dependencies of ./configure).
To configure it, run “$rejoystick” on a shell and check which of the events are your hat switch, and promptly assign them a key. Now, here’s the tricky part: the program will halt if any other axis or button is unassigned. So pick one key in your keyboard you hardly use, and assign every other event to this single key.
To run it, type on a shell “$rejoystick -d” and to terminate it, “$killall -9 rejoystick”
So, you can create a script containing:
#!/bin/bashTa-daa! Fully working joystick under IL-2, under wine, under linux, with a key capture-binding layer.
wine “/path-to-your/IL-2 Sturmovik 1946/il2fb.exe”
killall -9 rejoystick
Ah, computing is fantastic…
So, that’s another linux annoyance fixed. I’ve still have to find a good lyrics plugin for my audacious (I’ve translated from chinese and compiled one, but still doesn’t convince me. If you want it, contact me) and get .gifs to animate under Eye of Gnome. You lazy developers, have to do everything by myself.
Later I'll be posting some renders I've prepared.