Forums » Technology » Pit Builders » Help Please guys....


Page 1 of 2 1 2 >
Topic Options
Rate This Topic
Hop to:
#3335826 - 07/06/11 12:58 AM Help Please guys....
AndyB Offline
Member

Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
I'm hoping someone here can help with a problem in the pit I'm building.

Background is: Pit is a Comanche pit for use with EECH. I'm using an Opencockpits USBkeys board to interface the switches with the game.

Most of them work fine, but in EECH use is made of the Numpad keys, and they're giving me a headache.

In the encoder.ini file a program the switches as directed in the documentation for the board i.e. #75=/0 that should mean when I press switch 75 attached to the USBkeys board Numpad 0 shoud be passed to the game. It isn't!

I put a key scanner program on and when I press Numpad 0 on the normal keyboard it displays {Num0}. When I press the 75 switch it shows 7.

Hopefully I'm not the only one using Opencockpits boards and somebody will have hit this problem before.

I have put a post on to Opencockpits forum about this, but from past experience it takes them a while to respond.

many thanks in advance,

Andy
_________________________
Andy's simpit: http://www.simpit.me.uk

Top
#3335986 - 07/06/11 08:45 AM Re: Help Please guys.... [Re: AndyB]
Falstar Online   content
Member

Registered: 07/20/02
Posts: 1153
Loc: Bloomington, MN 55420
With my quick goggling... do you have the / facing the right way? #75=\0

[ Asignación de teclas F]

#25=\E
#31=\F
#32=\G
#30=\H
#28=\I
#26=\J
#16=\K
#14=\L
#12=\M
#10=\N
#13=\O
#15=\P

Top
#3336121 - 07/06/11 11:55 AM Re: Help Please guys.... [Re: Falstar]
AndyB Offline
Member

Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
Hi Falstar,
Thanks for the reply.
In the documentation from Opencockpits site it says to use the "/" key before the number for the Numpad keys. Where did you find the other one ?

Cheers,

Andy
_________________________
Andy's simpit: http://www.simpit.me.uk

Top
#3336190 - 07/06/11 12:58 PM Re: Help Please guys.... [Re: AndyB]
Falstar Online   content
Member

Registered: 07/20/02
Posts: 1153
Loc: Bloomington, MN 55420
Got that from here... http://mariuscircuits.110mb.com/cdu.htm

Like I said, it was a quick google. I dont' have a Opencockpit board or any experience with one, but thought it might be worth a shot.

Top
#3336534 - 07/06/11 11:43 PM Re: Help Please guys.... [Re: AndyB]
GrizzlyT Offline
Member

Registered: 11/22/05
Posts: 528
Loc: Sterling Heights, Michigan
Hey Andy - I would be curious to find out if it was just a documentation error. reading

I use the USBKeys for the switches around my MFD/MPD bezels.
There were a couple of numpad assignments I needed. I don't remember everything I tried? I do remember searching the OC forums for help.....never did get them to work.

I ended up running them through the KE72.
_________________________
Grizzly's Comanche Simulator
"Fear is the mind killer. - Frank Herbert"

Top
#3338507 - 07/09/11 02:11 PM Re: Help Please guys.... [Re: AndyB]
Falstar Online   content
Member

Registered: 07/20/02
Posts: 1153
Loc: Bloomington, MN 55420
Yo Andy, Any luck? the curiousity is killing me. lol

Top
#3338962 - 07/10/11 09:36 AM Re: Help Please guys.... [Re: AndyB]
AndyB Offline
Member

Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
Hi Falstar,

I don't have a solution yet, but I think I know why it's happening.

When I initially got my USBkeys card none of my systems would recognise it (kept coming up Unknown Device in system manager). Mate of mine downloaded the PIC code from OC's site and compared it to the code in the chip. It was different! He burned me a new PIC which made the board work perfectly.

After searching the web I've come across 2 versions of the user guide for the board. The earlier one DOES NOT have the instructions for the number pad keys. My guess is that my mate has burned me a copy of the old version of the PIC.

Problem now is that OC don't respond to requests on their forum and don't answer emails. If I put the original PIC back in which, I think, would give me the numpad mappings, it won't be recognised again.

Another problem has raised it's head with the OC board. No option to map the spacebar (which is the weapons fire key in EECH).

I tried remapping the spacebar to # in the registry and mapping # to the fire key in OC.

Tried in notepad, # key on keyboard does produce a space but hitting the fire key produces a #.

It's as if the HID device output doesn't go through the keyboard buffer and can't be remapped.

Hair is getting thinner by the day ..........

Andy
_________________________
Andy's simpit: http://www.simpit.me.uk

Top
#3339058 - 07/10/11 12:44 PM Re: Help Please guys.... [Re: AndyB]
Falstar Online   content
Member

Registered: 07/20/02
Posts: 1153
Loc: Bloomington, MN 55420
Thanks for the info. Please keep us informed if you find the solution.

Had been thinking of going the Opencockpits route, so thanks for the heade up.

Top
#3339075 - 07/10/11 01:30 PM Re: Help Please guys.... [Re: AndyB]
AndyB Offline
Member

Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
Don't be put off Opencockpit's cards because of the USBkeys. I'm using a Mastercard for all the indicator outputs, a USBlcd card for the upfront display and a 7 segment card for the chaff and flares counters in the pit and they all work fine. And programming in SIOC is a breeze once you get your head around it.

The USB keys seems to be the weak link in their setup.

If you do decide to go OC route, feel free to email me if you get stuck and I'll try and help.

You can get me through the webmaster email address on my site below.

Cheers,

Andy
_________________________
Andy's simpit: http://www.simpit.me.uk

Top
#3344133 - 07/17/11 06:10 PM Re: Help Please guys.... [Re: AndyB]
AndyB Offline
Member

Registered: 12/13/09
Posts: 288
Loc: Ayrshire, Scotland
A step further on with this:

I did get an email back from Opencockpits to say that you can designate the following special keys despite it not being in their latest documentation:

/A = Multiply (this is the last entry in the current docs)
/B = Add
/C = Seperator (?)
/D = Subtract
/E = Decimal (I assume this means decimal point)
/F = Divide
/G = Space

I presume that all the above keys are the Number Pad ones.

Haven't been able to test this out yet as I can't find the original PIC chip or it's contents. Have asked OC for a copy of the hex code for the PIC they currently use.

GrizzlyT:
Could be that you have an earlier version as well. That would explain why you couldn't get the numpad keys to work.

I'll keep you posted.

Cheers,

Andy
_________________________
Andy's simpit: http://www.simpit.me.uk

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


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