View Full Version : Having an peculiar problem....?
CA406079
26th April 2004, 12:41 AM
First, I want to express my thanks to everyone here who has helped me program my CH HOTAS profile that is now working well.
As people who play Lock On Modern Air Combat will know, to CYCLE thru the weapons (besides the cannon) you must press the " d " key. For some reason, no matter which joystick button i program "d" to no matter whether I just press it or recod it as a keystroke, its just doesnt register when I do a Key Check in the CH Manager. I even try assigning a different key to the one that didnt work, and it registers fine. When i play, I can switch weapons by hitting the d key, but no luck on any buttons. Heck, I even assigned the d key to 3 different buttons and tried them all to no avail...l. :rant:
anyone run into this rather peculiar problem?
Bob Church
26th April 2004, 01:22 AM
The CMC files are showing "d", so somebody must have it working. Make sure you have it entered as "d" and not "D" (which will play back as "SHF d", not what you want, and if you're putting it into something besides Mode 1, make sure there is something in the Mode 1 entry. If Mode 1 is blank, Modes 2 and 3 won't work. You can use NULL if you don't want Mode 1 to send anything. If none of that helps, try increasing the value of the Character Rate value in the Program Settings screen and slow the character down a little, maybe it's just going by too fast.
- Bob
The StickWorks
http://www.stickworks.com
CA406079
26th April 2004, 05:26 AM
as usual I,bow b4 your all knowing powers...
:flying: :flying: :flying: :flying: :flying: :flying: :thumbsup:
MichaelCHProd
26th April 2004, 08:37 AM
was it the mode thing?
CA406079
29th April 2004, 08:56 PM
1. Yes, it was due to blanks in Mode 1
I use mode 1 (green() as NAV
mode 2 (red) for combat
mode 3 (yellow) for stores/systems managment
the only mode that has ate up all the buttons so far was for combat mode, and thus there were a few blank in mode 1
2. I found that while flying in LOMAC, and more importantly, while programming in the CH GUI editor, the bottom hat on my prothrottle will somtimes stick or activate by itself. It doesnt seem to be a huge deal, but is there anything I can do to loosen it up to prevent it from twitching itself on?
3. Also, I have noticed ( and you can only see what is going on when you are recording keystrokes or key testing) that all of a sudden a whole whack of keys seem to activate at once as if on a string. it seems to be the same ones each time. I have a Logitech elite corded keyboard, and I am thinking that somehow a bunch of keys activated at once and were recorded as a mapped button. I have looked through my LOMAC profile and have found nothing like that.
Being a CH programming NOOB, I will try making a new template from scratch and seeing if that works. It is concerning becasue once adn a while my profiles acts up while i am playing and i thn it may be connected.
4. PS some of the more complex key combos the need to be recorded such as Alt.-h (hud color intensity) are being interpreted by the game as just an "h" keypress. I have found the same problem with starting/shutting down individual engines. WHen it involves just on key such as pageUp or PageDown, I can get that to work easily. but trying to combine this with shitf-pgup or Alt._pgdwn doesnt seem to work. Instead it is interpreted as just pgUp of PgDown.
A pic of the keyrecorder window with the right "script" would be much appreciated.
eg shutdown left engine
THANX AGAIN
JOHN
MichaelCHProd
29th April 2004, 10:48 PM
Post your map and let me have a look.
For the Key commands that are too fast for LOMAC you could try the "HOLD" command to force it to see both keys. I think I have seen this issue before on this board I will look for it.
CA406079
30th April 2004, 12:27 AM
could you explain how to put the hold command in...
I have NO experience in scripts, hopefully this is a GUI command...
I'm at work still but will repost once i am at home and can send the map.
MichaelCHProd
30th April 2004, 04:45 AM
You are already using the "HOLD" command. Check out button 9 (HAT 2 UP) on your Fighterstick in your map.
Does that command work?
Bob Church
30th April 2004, 11:16 AM
I don't see anything strange in the map, except maybe that there's a KEYS macro in the comment block for the Pro Throttle, Throttle Axis, Mode 2. There are also some Mode 2 and Mode 3 commands on FighterStick button 3 even with Mode 1 blank and switching modes. Still, neither of those should cause any trouble.
The thing with it sending multiple keystrokes is kind of strange. I have seen it happen under other circumstances, though. What was happening there was that some button or group of buttons (maybe the flaky hat switch) lost either its +5 or GND lead causing all of the buttons to look like they closed at once and it generated just what you described, a burst of all the characters on the buttons. Can you identify which characters are getting sent?
- Bob
The StickWorks
http://www.stickworks.com
CA406079
1st May 2004, 07:29 PM
Yes, I caught it this time!
Im not sure if it also happens on other hats, but my POV hat on the throttle does wht you describe on a common basis. I captured the string on and cut and pasted to wordpad. here it is....
Also, that character rate problem with LOMAC not seeing combos such as RSHF kpPageUp, what should i set my rate to so that normal keys still work?
thanks guys,
John
Is it at all possible for commands written in the comment box to somehow contribute to this problem of strings spewing out....?
I was checking all my buttons, but somehow i must have touched the throttle slider while i was typing or something and it adding all that to the comment box.
I FIGURED OUT THE ENGINE SHUTDOWN PROBLEM. IT SEEMS THAT LOMAC DOESNT RECOGNIZE THE RIGHT -, RIGHT-SHIFT OR RIGHT-CONTRL keys when the manual asks for shitcontrl, alt...ect in combination with other keys. So I just reprogrammed using the left side named keys for my map. That's also why my shift worked on the fighter-stick, Michael, because I had used the left hand shift, and it registers as just shift, not Left Shift.
CA406079
2nd May 2004, 08:30 PM
I have been tooling around with the PT mini mouse. I would like to set full forward on the X-axis as zoom in, centred as NULL, and Unzoon as full back.
Here is my CMS file. I TRIED TO DO THE SAME FOR MODE 2 with the deploy and retract airbrake. WHen I watch the aircraft when I try to use airbrakes with the minimouse, I see the airbrake twitch open for a split second.I've been reading up in the help section it and am getting more familiar with the software.
Bob Church
3rd May 2004, 12:51 AM
>> I have been tooling around with the PT mini mouse. I would like to set full forward on the X-axis as zoom in, centred as NULL, and Unzoon as full back.
Here is my CMS file. I TRIED TO DO THE SAME FOR MODE 2 with the deploy and retract airbrake. WHen I watch the aircraft when I try to use airbrakes with the minimouse, I see the airbrake twitch open for a split second.I've been reading up in the help section it and am getting more familiar with the software. <<
Try setting the "Steps" count to "1" instead of "2". That will hold the key down. As it is, you're going to get two quick keystrokes and that's all.
The problem with the RSHF thing shows up with LOMAC and F4, it didn't register before that that's what you were doing. I fixed it for the standard "ALT z" stuff where it's one of the modal keys, but "HOLD RALT z" would still all close at once and that's what the sims don't react correctly to. Look in the "Special Characters" section of the Users' Guide under "Creating a Control Manager Map" and find the CHARDLY character. It lets you control that by forcing the delay between the shift/alt/control and the character itself. The KEYS macro example there is pretty much exactly what you want to do except for the characters themselves.
>> Yes, I caught it this time! <<
Sorry I missed the post yesterday, somehow it slipped past me. Ah well. Better late than never. The pasted string isn't showing up here, it just says:
>> Here it is <<
What I was trying to figure out was whether we could relate it to a particular control, e.g. is the string of characters that it spits out the ones that are programmed to the hat positions. It would lead me to suspect an electrical problem with the connection to the hat itself. The characters in the Comment blocks won't get sent, they're not even really transferred when you do the download. They're just "decorations" and don't really end up as part of the map when it's running.
Anyway, if you could post the string again, I can look at the map and maybe it will fall into place.
- Bob
The StickWorks
http://www.stickworks.com
CA406079
9th May 2004, 07:21 PM
heres the string again
and my latest profile ( i took out the ministick airbakes becaseu it was centring to null reliably. but i am just trying to get the zoom and unzoom to work on the mini stick. when u set steps to 1 it measn you can ony prgram one command though right? i will go thru the manual and see if there is something i can add so that when i push the mini stick forward and back it continues to zoom or unzoom when it is helo in those respective positions...
CA406079
9th May 2004, 07:26 PM
heres my map again
CA406079
9th May 2004, 07:29 PM
and CMS
Bob Church
11th May 2004, 06:56 AM
Hi John,
>> heres the string again and my latest profile ( i took out the ministick airbakes becaseu it was centring to null reliably. but i am just trying to get the zoom and unzoom to work on the mini stick. <<
Okay. Got it this time. I took a look at it and compared to your map file. I can tie all of the character to the Pro Throttle, but not to a specific character control on the ProThrottle. Basically, it seems like it hit twice. if you look at the keys that were generated there was an "ALT l" sequence (the first four lines) followed by two identical sequence that begin with an LSHF press and end with a KBPGDN release. After those two, the LCTL key bounces once and that's it. They're not in the order you might expect, but if you pair things off you can account for them all.
It doesn't really look like a USB error. For one thing the sequences both complete, e.g. it didn't really stop communicating and it didn't leave any keys "hung", it saw the keys both close and open. It's more like buttons 6, 19, 20, 22, and 27 got pressed briefly and then released all at the same time and twice in a row. I can't relate those to any particular control, and if something USB caused it, I'd have expected it to trip all the buttons, not just some. Also, it probably would have just stalled and left the characters stuck down. Maybe Michael can see something that he's run into before with a wiring harness or something.
One note, it's not really creating problems but it's not doing what you think, either. The HOLD command tells the CM to press keys together, so when you need to send "RCTL x" you can write "HOLD RCTL x" and the RCTL will stay down while the "x" is sent. Otherwise, it will get sent as two seperate keys, first RCTL goes down and comes up, then "x" goes down and comes up. You can't really use HOLD in a release string. They don't cause an error, but they don't have any effect either. If you look through the modes on the upper hat on the Pro Throttle, there are three sets programmed where you're using HOLD on the release. The press side will be working, the release side will be sending the individual characters. For two of them, I'm not sure you need them at all, you've got the same thing programmed on the press side, but I don't really know. There is one which is _only_ a release string, you'd need to move it to the press side, but you may just be able to delete the release side reference. You can make it happen on release if you need to, but we'd need to script.
BTW, you dont normally need to enter LEFT anything. If you write it as "CTL x", you get basically the same thing as "HOLD LCTL x", except that the sequence time between the CTL and the "x" will be there automatically for sims like LOMAC and F4. It will also work on a release. Anyway, the SHF, ALT, and CTL modifiers imply an automatic hold operation and it's the codes for LSHF, LALT, and LCTL that are used. You only need HOLD normally if you need RSHF, RALT, or RCTL.
>> when u set steps to 1 it measn you can ony prgram one command though right? i will go thru the manual and see if there is something i can add so that when i push the mini stick forward and back it continues to zoom or unzoom when it is helo in those respective positions... <<
Well, you only program 1 particular key in any case. The difference is in the way it repeats (if at all). If you set it for 1 step, it's essentially the same as just programming it to hold the key down, e.g. it will send a keydown when you push it, and it will release the key when you release the stick.
When you go to more than one step, you're determining how many it will send and they are sent in proportion to the control movement. If you set 3 steps for example, you'll get one at about 1/3rd, one at 2/3rds and another at near full travel, but there is no way to actually "hold" a key without going into a script. It sends a keydown and then a keyup at each point and in the end it leaves the key released.
The reason I suggested the 1-step was to hold the key down. Your description of the air brake just "twitching" is typically what you see when a control needs a continuous keypress and you send a single key, it's what you might see as the multiple step Up/Down sent the individual characters. I thought maybe the 1-step with the hold might fix that up for you.
Anyway, no resolution for the characters bouncing out randomly like that, really. I haven't heard anyone else complain about it so it's apparently not something that's characteristic of things. If it's happening often enough to be an annoyance or it's trashing your game play, the best thing would do would probably be to talk to Michael about getting an RMA and have them look at the throttle for you.
- Bob
The StickWorks
http://www.stickworks.com
MichaelCHProd
11th May 2004, 11:06 PM
Whenever you want to send me an e-mail I will get you that RMA number.
CA406079
24th May 2004, 12:38 AM
Well gentlemen, I must thank yo all for helping me with all my programming questions. I had little trouble in the last few weeks probgrmaming for various sims...
Unfortunately, I still have this key jumping error where HOTAS activates by itself, and while it was happening to limited degree, it semms to be happening more often now. I have experienced it with the lomac.1c map I shown you guys, and have so far not been able to find anything in the map or script that would make the stick do this. I believe it is just my throttle that is doing this, the bottom hat switch for my left thumb. I was hoping to send my throttle in to see if there is a loose connection or other that;s contributing to this problem.
Thank you,
John
my email addess is CA406079@hotmail.com
MichaelCHProd
25th May 2004, 01:08 AM
Send me an E-amil and I will get your information and issue you a RMA.
CA406079
27th May 2004, 07:29 AM
michael, i've tried to email you a few times now, I dont think I'm getting through.
my direct email is CA406079@hotmail.com
MichaelCHProd
27th May 2004, 04:23 PM
I got one at my work e-mail last night while I was at home. You should have a reply in 5 min.
Powered by vBulletin® Version 4.1.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.