Author Topic: Powered USB Hub and lost stick settings?  (Read 328 times)

Offline Urchin

  • Platinum Member
  • ******
  • Posts: 5517
Powered USB Hub and lost stick settings?
« on: March 03, 2010, 07:07:46 PM »
Hey all, I have a weird problem.  I got a powered USB hub to plug all of my assorted stuff into - so I plug my CH stick, throttle, and pedals into that.  Windows sees them fine.  Go into the game, nothing is working.  Game sees them fine, the problem is none of the controls are mapped.  I go into the settings folder and there are 3 files "chfighterstickusb.jsm", "chpropedalsusb.jsm", and "chprothrottleusb.jsm".  I open those files with notepad and sure enough they are the stick mappings - but AH still isn't seeing them.  How do I make AH see them?

Offline Chalenge

  • Plutonium Member
  • *******
  • Posts: 15179
Re: Powered USB Hub and lost stick settings?
« Reply #1 on: March 03, 2010, 07:30:49 PM »
I have noticed that calibrating with the CH Manager sometimes brings mappings back. I have also had mappings vanish if I move the USB plug to a different port. If you always have it plugged into the same hole there will never be a problem so now I have everything numbered with a piece of masking tape around each wire so everything plugs into its respective port. I am also using two USB powered hubs so only the two wires (in addition to the printer and mouse) are plugged into the MB.
If you like the Sick Puppy Custom Sound Pack the please consider contributing for future updates by sending a months dues to Hitech Creations for account "Chalenge." Every little bit helps.

Offline Urchin

  • Platinum Member
  • ******
  • Posts: 5517
Re: Powered USB Hub and lost stick settings?
« Reply #2 on: March 03, 2010, 07:43:56 PM »
It is amazing how silly this is.  I moved the files out onto my desktop and fired up AH and the game generated new files.  I copy & paste the contents of the old files into the new files and save them... and it doesn't work.  Apparently the game still doesn't actually read what the file has in it.  Frustrating.

Offline Ack-Ack

  • Radioactive Member
  • *******
  • Posts: 25260
      • FlameWarriors
Re: Powered USB Hub and lost stick settings?
« Reply #3 on: March 03, 2010, 08:24:37 PM »
Because those aren't joystick map files.  The .jsm files are the stick settings generated by the game from what it sees in the Windows Game Controllers window for the controller you've selected in AH.

*Edit*  Just got home and ignore what I mentioned above.  The .jsm file not only contains the stick scale settings, the bindings are also listed if you had bound a command to one of the buttons.  Either of the below fixes still pertain, follow the steps if you want to use your stick without CM or follow the one with CM.

This is what a default chcombatstickusb.jsm file looks like.
Quote
CH Combatstick USB
3,18
X Axis
0,32767,65535,0.050000,0.100000,0.250000
AXIS,PITCH,0,1
0.10,0.20,0.30,0.40,0.50,0.60,0.70,0.80,0.90,1.00
NOTUSED,NOTUSED,0,0
NOTUSED,NOTUSED,0,0
NOTUSED,NOTUSED,0,0
Y Axis
0,32767,65535,0.050000,0.100000,0.250000
AXIS,ROLL,0,0
NOTUSED,NOTUSED,0,0
NOTUSED,NOTUSED,0,0
NOTUSED,NOTUSED,0,0
Z Axis
0,32767,65535,0.050000,0.100000,0.250000
AXIS,THROTTLE_1,0,0
NOTUSED,NOTUSED,0,0
NOTUSED,NOTUSED,0,0
NOTUSED,NOTUSED,0,0
Hat Switch Fwd.
GLOBAL,FIRE_ALL_GUNS
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Hat Switch Right Fwd.
GLOBAL,FIRE_SECONDARY
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Hat Switch Right
GLOBAL,FIRE_PRIMARY
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Hat Switch Right Back
VIEW,LOOK_UP
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Hat Switch Back
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Hat Switch Left Back
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Hat Switch Left
VIEW,LOOK_FWD
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Hat Switch Left Fwd.
VIEW,LOOK_RIGHT
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 0
VIEW,LOOK_BACK
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 1
VIEW,LOOK_LEFT
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 2
VIEW,LOOK_FWD
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 3
VIEW,LOOK_FR
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 4
VIEW,LOOK_RIGHT
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 5
VIEW,LOOK_BR
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 6
VIEW,LOOK_BACK
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 7
VIEW,LOOK_BL
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 8
VIEW,LOOK_LEFT
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED
Button 9
VIEW,LOOK_FL
NOTUSED,NOTUSED
NOTUSED,NOTUSED
NOTUSED,NOTUSED

This is what it would like like if I was using a .map file (chcontrolmanagerusb1.jsm).  Notice that there isn't any bindings, just scale settings. 

Without Control Manager
1.  Calibrate your stick in Windows and make sure all your buttons and axis work correctly
2.  In AH, go to the controllers section and select your controllers
3.  Go into the keymapper and bind the commands to your stick
4.  Fly

This solution allows you to use your joysticks without having to use the Control Manager to create a map file and instead uses the default DirectX buttons which you rebind in the game to whatever function you want the button to do.

With Control Manager (latest version)
1.  Open Control Manager
2.  Click on the calibration button and follow the instructions to calibrate your joystick
3.  Create a .map file template and program whatever functions you want on your stick
4.  Save the template and load it into your controllers
5.  Start AH and fly


ack-ack
« Last Edit: March 03, 2010, 10:58:17 PM by Ack-Ack »
"If Jesus came back as an airplane, he would be a P-38." - WW2 P-38 pilot
Elite Top Aces +1 Mexican Official Squadron Song