For the rest: You don't need to touch the JAR - just edit the JAD (it's a text file).
@whoracle: I don't know a way to universally do it. Some applications allow parameters in the JAD to override the default behavior.
For example, for Google Maps, the following lines in the JAD will map the Left soft key to Volume Up, the Right soft key to Volume Down, and Select to the Enter button.
LeftSoftKey: -13
RightSoftKey: -14
SelectKey: -20
But again, this only works for Google Maps, since it explicitly looks in the parameters to remap functions.
Most other applications I've seen don't usually have parameters to redefine functions.
You can get key codes for the Xenon's buttons in
The Better Manual. Usually you need the
rawKeyCode.