Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

I think the default key is 76 and according to the scan codes that is 5 on the number pad right? Ive also tried setting it to 25 which is P on the scan codes if I am not mistaken. I just can't get the panel viewer to come up in-game. Ive tried using the keyboard itself instead of buttons on my control panel and it doesn't do a thing.

Posted
As I remember it...

- You can't use a key assigned to Mame (so P wouldn't work)

- These are VK (Virtual Key Codes), and are different to the scan code sheet supplied in GameEx.

- 76 as a VK code (converted to hex is 4C) so according to the VK codes here..

http://api.farmanager.com/en/winapi/virtualkeycodes.html

...the key to press is "L". I may be wrong though.

Well I don't use "P" for mame. I am using "End" for pause. So can someone tell me what the virtual key code for "P" is?

Posted

Well I fixed it. Problem was that I have a 4-player cab and "L" is being used so the default value of 76 doesn't work. I thought I was supposed to use the scan codes supplied in GameEx but Headkaze cleared that up for me, thanks. Since I am using "End" instead of "p" for "pause" in mame, I used the virtual-key code for "P" which is "80" btw and now it works fine.

Posted

Hello,

I also have a 4-player cab and had to disable the panel viewer becasue it would come up when using the 3rd player (the default is L which is player 3 right). I don't understand why 76 doesn't equal the F7 key by the virtual key codes list you attached. How do you convert to hex value? I think I'm missing something there.

Thanks in advance.

Posted

-Sty151-

theres an extra conversion that isnt mentioned, something with hexadecimal values i dont really understand enought to explain. But anyway if you give me the key you want to use (it has to be a key not used in mame), then i can give you the value that you need to use to make it work.

Posted

Thanks 812MANY

Skimming the list I don't think "t" is used. But any code for any keyboard key that's not used by MAME would work. I plan on mapping it to a shift-key combo on my IPAC. Whatever's easier for you? I hate that you have to do this for me but I appreciate the help.

Sty151

Posted
Thanks 812MANY

Skimming the list I don't think "t" is used.  But any code for any keyboard key that's not used by MAME would work.  I plan on mapping it to a shift-key combo on my IPAC.  Whatever's easier for you?  I hate that you have to do this for me but I appreciate the help.

Sty151

The virtual_key code for 't' is 84. But if you are using an ipac with a 4 player cab make sure that 't' isn't used. Make sure that no keys are used twice as well. I have a similar setup as you and I noticed that 'L' and 'k' where being used twice in the default setup of winipac. So I used 't' and 'c' to make those changes.

Here is a link to a decimal to hexadecimal converter that I used:

http://www.statman.info/conversions/hexadecimal.html

You can use it in conjunction with this table posted by headkaze earlier:

http://api.farmanager.com/en/winapi/virtualkeycodes.html

if you have trouble using the table and converter to find the virtual_key code you need I can help.

-812MANY

Posted

Thanks guys that did the trick. Base 16 numbering systems rock. I'm going to convert everything in my life to hex. Well maybe not, but I'm glad I got another great feature for this great front end working.

Thanks again,

Sty151

Guest
This topic is now closed to further replies.
×
×
  • Create New...