20,741
edits
mNo edit summary |
|||
Line 4: | Line 4: | ||
Until now we have got our joysticks working in our system by defining each axis with the following format | Until now we have got our joysticks working in our system by defining each axis with the following format | ||
<syntaxhighlight lang="xml"> | |||
<axis n="0"> | <axis n="0"> | ||
<desc>Aileron</desc> | <desc>Aileron</desc> | ||
Line 9: | Line 10: | ||
... | ... | ||
</axis> | </axis> | ||
</syntaxhighlight> | |||
This is fine if you are using the joystick on your system. But imagine that you have worked out a brilliant button assignment scheme, using modifiers, so that the joystick is a joy to use. You want to post your code in the forum so everyone can use it. | This is fine if you are using the joystick on your system. But imagine that you have worked out a brilliant button assignment scheme, using modifiers, so that the joystick is a joy to use. You want to post your code in the forum so everyone can use it. |