View Full Version : Mini Stick
EAGLE
07-01-2004, 03:35 PM
REVIN: I copied the information on the programming of the mini stick you submitted, but I could not read between the lines. I would like to have the stick pan outside view when in a Buff.
Could you walk me through this procedure? I am capable in the other button programming but this one has me stumped.
Thank you for your patience.
EAGLE
Revvin
07-01-2004, 05:24 PM
It is Aces High you play yes? if so you have two options here, both very simple.
1. Leave the the profile as it was before you started editing it (it would have been set as CM Device 2 X and Y axis by default in 'DirectX Mode') then you need to go into Aces High and in the joystick axis mapping section (same section where you map your throttle, rudder axis etc) this then gives you the ability to pan the view and then when you let go the view is automatically centred due to the ministick centering itself when you let go the drawback is you have to hold the ministick in the position you want otherwise it will just return to centre.
2. Click on the Pro Throttle tab and click on the ministick in the bottom picture just as you did to map the key presses to the ministick and then in the dialogue box to the right make sure the 'DirectX Mode' tick box is ticked then select the 'DX Device' drop down box and scroll down and at the bottom you will see you can set it to 'Mouse' as opposed to 'CM Device 1-16' do this for both X and Y axis. Then go back into Aces High and the joystick selection screen but this time map the mouse to the view panning option. The benefit this gives over having the ministick behave as a joystick is you don't have to hold the ministick in the position you want but then view won't return to centre unless you map another button to take you back to the default view or switch back to snap views.
Hope that helps, I've attached my Aces High profile to this message, one version uses the ministick to pan the other uses the mouse to pan.
Revvin
07-01-2004, 05:30 PM
Hopefully these pictures might better illustrate what I described above, in this picture you can see the ministick on the Pro Throttle used as a mini joystick, by default it is CM Device 2 X and Y axis
Revvin
07-01-2004, 05:31 PM
In this picture the ministick is no set to behave as a mouse
Revvin
07-01-2004, 05:34 PM
And finally the Aces High joystick options screen, note that in this example I have selected the mouse but if you went for the first option of having the ministick as a joystick then you would select 'CH Control Manager Device 2' in the 'Joystick' list (second column of options) then select the axis in the third column for that device.
Revvin
07-01-2004, 05:39 PM
Oh and BTW that profile I added includes a .cmc file which holds pretty much all the commands you need for Aces High so if you wanted to edit that profile all you would need to do is delete whatever is in the programmed function box for any button then where you would normally enter the button press you wanted to map right click in the box and in the menu box that pops up click on 'Insert Command' and a new window will appear with all the Aces High commands, just select one you want from the list by highlighting it and clicking on the 'Okay' button to assign it to that joystick button.
EAGLE
08-01-2004, 07:10 AM
REVVIN: I replied with the Quick Reply but it not show up in the forum, must have done something wrong :o
Thanks again for the info, will attempt to do it.
Yes, I am an old AH/Confirmed Kill & AW person :)
EAGLE
Revvin
08-01-2004, 02:17 PM
If you need any more help just ask you're more than welcome. I've been around the online sims a while too, played Warbirds on and off for years and only until recently had an account in Aces High but I mainly play World War II Online and IL-2:FB these days mixed with a bit of Lock-On :)
strider
25-06-2004, 06:30 PM
Revvin:
I am an AH guy also, and am setting my CH USB Fighterstick and Pro-throttle. I am getting stumped by this CM thing, and am wondering if you have any maps or whatever to share.
Thanks
Revvin
26-06-2004, 07:34 PM
Try the one attached above or take a look through the prop sim profile forum there are a few there.
SlapShot
22-12-2005, 07:19 PM
Ok ... long time no see people ...
Here is the task at hand ....
I want the micro-stick to control the mouse cursor while in Aces High ... this I have working !!!
What I want to do is when I press B1 (press micro-stick in), I want to activate VIEW_PAN_MODE, and when I press it again, I want to activate DEFAULT_VIEW_MODE ... this I have working !!!
What's not working you ask ?
When I press B1, VIEW_PAN_MODE is active, but when I move the micro-stick, the ingame view is not panning.
I use mapped mode for my setup.
Any ideas ?
DonULFonso
22-12-2005, 11:34 PM
Well, what about telling us what exactly you'd like to achieve?
What exactly would you do how exactly? Which keys do you have to use in which order and in which manner?
If I'm not too mistaken, then AH uses the keypad-keys to control the snap-views, and these snap-views either jump instantly to a view-direction (the default view-mode IIRC), or they pan from the current direction to the new one, right? And this behaviour, these two modes, can be selected via two function-keys, right?
Or are you talking about using the microstick to control the snap-views if it's not depressed, but pan the view AKA mouse-look if it is depressed?
Could you please explain what exactly you want to achieve, and what actions have to take place in what order and what manner for this to happen?
DonULFonso
12-04-2006, 09:07 AM
Just in case you still couldn't solve it:
script
TOGGLE ( D1 ) = JS2.B1;Â*Â*Â*Â*Â*Â*Â*Â* //Â*Â*Â*Â* D1 = snap-view-mode
IF ( NOT D1 ) THEN
Â*Â*Â*Â* CMS.A1 =Â*Â* JS2.A1;Â*Â*Â*Â*Â*Â*Â*Â* // CMS.A1 = "DX, mouse, x-axis"; JS2.A1 = blank
Â*Â*Â*Â* CMS.A2 =Â*Â* JS2.A2;Â*Â*Â*Â*Â*Â*Â*Â* // CMS.A2 = "DX, mouse, y-axis"; JS2.A2 = blank
ENDIF
IF (Â*Â*Â*Â* D1 ) THEN
Â*Â*Â*Â* CMS.A1 =Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*128;Â*Â* //Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* mouseÂ*Â*x-axis = centered!
Â*Â*Â*Â* CMS.A2 =Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*128;Â*Â* //Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* mouseÂ*Â*y-axis = centered!
Â*Â*Â*Â* CMS.B1 = [ JS2.A1 < 120 ]; // CMS.B1 = "KP4" (CM 4.0) / "DX, device 1, POVL" (CM 4.1)
Â*Â*Â*Â* CMS.B2 = [ JS2.A1 > 136 ]; // CMS.B1 = "KP6" (CM 4.0) / "DX, device 1, POVR" (CM 4.1)
Â*Â*Â*Â* CMS.B3 = [ JS2.A2 < 120 ]; // CMS.B1 = "KP8" (CM 4.0) / "DX, device 1, POVU" (CM 4.1)
Â*Â*Â*Â* CMS.B4 = [ JS2.A2 > 136 ]; // CMS.B1 = "KP2" (CM 4.0) / "DX, device 1, POVD" (CM 4.1)
ENDIF
endScript
For your convenience, here's the same script but easier to read:
script
// - - - - - - - - - - - - - - - - - - -
%DEFINE SnapView_ButtonÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*JS2.B1
%DEFINE SnapView-ModeÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*D1
%DEFINE MicrostickX-AxisÂ*Â*Â*Â*Â*Â*Â*Â* JS2.A1
%DEFINE MicrostickY-AxisÂ*Â*Â*Â*Â*Â*Â*Â* JS2.A2
%DEFINE MouseX-AxisÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*CMS.A1
%DEFINE MouseY-AxisÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*CMS.A2
%DEFINE Axis_CenteredÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*128
%DEFINE Axis_DecreasedÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â* 120
%DEFINE Axis_IncreasedÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â* 136
%DEFINE SnapView_LeftÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*CMS.B1
%DEFINE SnapView_RightÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â* CMS.B2
%DEFINE SnapView_UpÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*CMS.B3
%DEFINE SnapView_DownÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*CMS.B4
// - - - - - - - - - - - - - - - - - - -
TOGGLE (Â*Â*Â*Â* SnapView-Mode ) =Â*Â* SnapView_Button;
IFÂ*Â*Â*Â* ( NOT SnapView-Mode ) THEN
Â*Â*Â*Â*Â*Â*Â*Â*MouseX-AxisÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*=Â*Â* MicrostickX-Axis;Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*// "DX, mouse, x-axis"; -/-
Â*Â*Â*Â*Â*Â*Â*Â*MouseY-AxisÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*=Â*Â* MicrostickY-Axis;Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*// "DX, mouse, y-axis"; -/-
ENDIF
IFÂ*Â*Â*Â* (Â*Â*Â*Â* SnapView-Mode ) THEN
Â*Â*Â*Â*Â*Â*Â*Â*MouseX-AxisÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*=Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â *Â*Â*Â*Â*Â*Â*Â*Â*Â*Axis_Centered;Â*Â*Â*Â*// centered!
Â*Â*Â*Â*Â*Â*Â*Â*MouseY-AxisÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*=Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â *Â*Â*Â*Â*Â*Â*Â*Â*Â*Axis_Centered;Â*Â*Â*Â*// centered!
Â*Â*Â*Â*Â*Â*Â*Â*SnapView_LeftÂ*Â*Â*Â*Â*Â*Â*Â*= [ MicrostickX-Axis < Axis_Decreased ]; // "KP4" (CM 4.0) / POVL (CM 4.1)
Â*Â*Â*Â*Â*Â*Â*Â*SnapView_RightÂ*Â*Â*Â*Â*Â* = [ MicrostickX-Axis > Axis_Increased ]; // "KP6" (CM 4.0) / POVR (CM 4.1)
Â*Â*Â*Â*Â*Â*Â*Â*SnapView_UpÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â*= [ MicrostickY-Axis < Axis_Decreased ]; // "KP8" (CM 4.0) / POVU (CM 4.1)
Â*Â*Â*Â*Â*Â*Â*Â*SnapView_DownÂ*Â*Â*Â*Â*Â*Â*Â*= [ MicrostickY-Axis > Axis_Increased ]; // "KP2" (CM 4.0) / POVD (CM 4.1)
ENDIF
endScript
Hope it helps.
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.