Here's a question that gets asked a time or two: How do I get my mini-joystick to press buttons in [ insert sim name that does not support DX axes for a TDC ]? Or, how do I get my mini-joystick (or any axis for that matter) to press a button? Okay, here is a simple solution for that...
First, you'll need CMS capabilities. Remember when you were creating a .map with Map Wizard and Control Manager asked if you wanted CMS capabilities?
Didn't click Yes? No worries. You can still add CMS capabilities. How? Follow along...
Next, you'll need a script to press the button you want on the axis...
Assuming the mini-joystick is joystick 2 (typically it is)...
You would use a script that looks something like this:
// CMS Script File
//
// Game Title:
// Written By:
// Date:
//
script
cms.b1 = [js2.a2 < 70 ]; // TDC UP (KBUP)
cms.b2 = [js2.a2 > 170 ]; // TDC Down (KBDOWN)
cms.b3 = [js2.a1 < 70 ]; // TDC Left (KBLEFT)
cms.b4 = [js2.a1 > 170 ]; // TDC Right (KBRIGHT)
endScript
Okay, you may, or may not be asking, where do I put this script? Well, in the CM Editor, like this...
Once you've written the script, then you'd go into the CMS Controls (Buttons) and assign each of the four buttons you'd like to assign. Like so...
And there you have it