Forums » Technology » Flight Sim Controllers » Control Manager (CH Products) » Control Manager - How Do I? Active Topics You are not logged in. [Log In] [Register User]
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:
#3124081 - 10/26/10 11:32 AM Control Manager - How Do I?
531 Ghost Offline
USMC
Veteran

Registered: 09/17/02
Posts: 10436
Loc: Elizabeth City NC
This Thread will be used to illustrate the basic programming of Control Manager. I will show various ways to program your CH Products Controllers in this thread. As time permits, it will be added to. If you have questions along the way, please, feel free to ask...

Let's kick this off...







_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It


Top
#3124104 - 10/26/10 11:57 AM Re: Control Manager - How Do I? [Re: 531 Ghost]
20mm Offline
Site Emeritus
Honorary Forums Manager
Sierra Hotel

Registered: 01/03/01
Posts: 40086
Loc: Tucson AZ
Outstanding Ghost! Thanks, after all these years, I'm still a dummy!
_________________________
Pat Tillman (1976-2004):
4 years Arizona State University, graduated with high honors.
5 seasons National Football League player, Arizona Cardinals.
Forever United States Army Ranger.

Top

#3124138 - 10/26/10 12:53 PM Re: Control Manager - How Do I? [Re: 531 Ghost]
531 Ghost Offline
USMC
Veteran

Registered: 09/17/02
Posts: 10436
Loc: Elizabeth City NC
Thank you 20mm. Working on the Map Wizard...
_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It

Top
#3124190 - 10/26/10 02:00 PM Re: Control Manager - How Do I? [Re: 531 Ghost]
531 Ghost Offline
USMC
Veteran

Registered: 09/17/02
Posts: 10436
Loc: Elizabeth City NC
Use the Map Wizard...











_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It

Top
#3124643 - 10/27/10 04:48 AM Re: Control Manager - How Do I? [Re: 531 Ghost]
LukeFF Offline
Amasser of Mosins
Hotshot

Registered: 06/11/01
Posts: 9065
Loc: Riverside, California, USA
Good to see you're doing this. Keep up the good work! yep

Top
#3124765 - 10/27/10 10:25 AM Re: Control Manager - How Do I? [Re: 531 Ghost]
531 Ghost Offline
USMC
Veteran

Registered: 09/17/02
Posts: 10436
Loc: Elizabeth City NC
Thank you Luke. cheers

Let's continue...

Okay, you've created a Map, now...






_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It

Top
#3127392 - 10/31/10 12:27 AM Re: Control Manager - How Do I? [Re: 531 Ghost]
531 Ghost Offline
USMC
Veteran

Registered: 09/17/02
Posts: 10436
Loc: Elizabeth City NC
Program a button...








_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It

Top
#3167823 - 12/29/10 01:54 PM Re: Control Manager - How Do I? [Re: 531 Ghost]
531 Ghost Offline
USMC
Veteran

Registered: 09/17/02
Posts: 10436
Loc: Elizabeth City NC
Originally Posted By: Joe
At its simplest, programming the CH Fighterstick and CH Pro Throttle through Control Manger involves defining commands in a command file,
which allows those commands to be referenced in descriptive text instead of actual keystrokes. The user then selects these commands from
a list and assigns one or more to each button, based on the mode and shift state. Additional programming control is available through a
text-based scripting language called CMS (Control Manager Scripting), allowing access to CH devices’ more powerful programming options.












Originally Posted By: Joe
A cycle switch on the joystick or throttle can cycle through three modes. An option also exists to use CMS and have four modes.
Programming for each mode is accessed via tabs in Control Manager for each joystick button, allowing the user to click through
these quickly to fully understand the overall HOTAS programming.









As you may, or may not have noticed, on either the FighterStick or the ProThrottle as you pressed either Button 3 (FS) or Button 1 (PT) the LEDs cycled each push of the button on either the FS or PT. If you've selected either the FighterStick or ProThrottle to select hardware modes, as Joe states, you'll have three hardware modes. Now, if you select CMS as your hardware mode selecter well, you'll have up to four hardware modes. This however requires some scripting.




For this example we'll assume we have a FighterStick and wish to use Hat 3 to control the four Modes. Hat 3 generates Buttons 13
through 16. The script itself is straightforward, just a series of nested IF/THEN/ELSE blocks that set the CURRENTMODE variable
based on which of the current position of Hat 3. It's useful to remember when using hats that they can only have one position active
at a time so we don't need to make any allowance for a situation where B13 and B14 were closed at the same time.

The script might look like this:

SCRIPT

IF( JS1.B13 ) THEN
CURRENTMODE = MODE1;
ELSE
IF( JS1.B14 ) THEN
CURRENTMODE = MODE2;
ELSE
IF( JS1.B15 ) THEN
CURRENTMODE = MODE3;
ELSE
IF( JS1.B16 ) THEN
CURRENTMODE = MODE4;
ENDIF
ENDIF
ENDIF
ENDIF

ENDSCRIPT



Assuming the above is true type the following in CM Editor...



And there ya have it. Using a Command File, and setting up Mode Control, explained.
_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It

Top
#3206005 - 02/12/11 11:04 AM Re: Control Manager - How Do I? [Re: 531 Ghost]
531 Ghost Offline
USMC
Veteran

Registered: 09/17/02
Posts: 10436
Loc: Elizabeth City NC
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 copter
_________________________
Originally Posted By: Abraham Lincoln
America will never be destroyed from the outside. If we falter and lose our freedoms, it will be because we destroyed ourselves.


For your CH Products programming needs, come on over to: The CH-Hangar
Current System Specs

Forum Use Agreement: Read It

Top
#3207219 - 02/14/11 02:33 AM Re: Control Manager - How Do I? [Re: 531 Ghost]
LukeFF Offline
Amasser of Mosins
Hotshot

Registered: 06/11/01
Posts: 9065
Loc: Riverside, California, USA
Good tutorial there. I just recently dug through my old posts at CH Hangar where I asked that very question in relation to something for IL2.

Top
Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:

Moderator:  531 Ghost, RacerGT 
 

Forum Use Agreement | Privacy Statement
Copyright 1997-2013, SimHQ Inc. All Rights Reserved.