Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Keyboard Hack problems  (Read 2440 times)

0 Members and 1 Guest are viewing this topic.

The_SandMan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:November 04, 2005, 02:46:34 am
  • I am a Newbie
Keyboard Hack problems
« on: September 19, 2002, 10:21:35 am »
Hi All

I am using a keyboard hack to interface my controls with my PC. I have used the windows utility called Keyscan to scan the matrix. I have now connected my controls to the matrix with the following abnormality:

1. My keys do not work in MAME except for the DOWN arrow
2. My keys do not work in GameLauncher except for the DOWN arrow

HOWEVER,
when I use ArcadeOS, all the keys work 100% util a game is launched and once again only the DOWN arrow works.

Any ideas, suggestions or comments ?

Any help will be appreciated.

Cheers
The SandMan

Bursar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 122
  • Last login:September 14, 2005, 06:57:07 am
  • I'm a llama!
Re:Keyboard Hack problems
« Reply #1 on: September 19, 2002, 10:52:31 am »
Are you using the default keys for movement and buttons? If you have mapped your sticks and buttons to other keys, then you'll need to reconfigure the front end and MAME with the new keys.

If you are using the standard key setup, then I'm not sure what to suggest. If you use Notepad (or Edit if you run DOS), do you get the correct characters appear when you move the sticks/press the buttons?

The_SandMan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:November 04, 2005, 02:46:34 am
  • I am a Newbie
Re:Keyboard Hack problems
« Reply #2 on: September 20, 2002, 01:38:26 am »
Hi

I have mapped only 1 joystick to test the hack to date. I have mapped the following keys, which I believe is the standard key mappings:

UP       - up arrow
DOWN - down arrow
RIGHT  - right arrow
LEFT    - left arrow

As I have said, it is very strange that only the DOWN key works everywhere (DOS, WINDOWS, MAME, GL, AOS,etc)

Cheers,
The SandMan


neuromancer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 446
  • Last login:May 10, 2006, 04:26:57 pm
  • Can I Play?
Re:Keyboard Hack problems
« Reply #3 on: September 20, 2002, 12:23:51 pm »
See if I understand:

You used the keyscan program to identify which keys on your encoder equal the 4 arrow keys, and you hooked up a joystick to those 4 line pairs. You have used the keyscan program to veryify that your hack was done correctly.

When you use a real keyboard in MAME or AOS, the 4 arrow keys work correctly, both in the UI and also in the game.

In Mame and AOS, three of the arrow keys stop working on your keyboard hack.

Is that correct? If you have not verified these three situations you need to do that first.

I will point out that using the arrow keys in a keyboard hack will be OK for programs like pacman and galaga, but it will fail when you try to run programs that use more buttons or joysticks.

Bob


The_SandMan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:November 04, 2005, 02:46:34 am
  • I am a Newbie
Re:Keyboard Hack problems
« Reply #4 on: September 25, 2002, 04:37:08 am »
SOLVED !!!

I have found the solution to the problem. When I found the key pairs for a key e.g. DOWN arrow, I stopped looking. As it turns out, there are more than 1 set of key pairs in the matrix for a key therefore some keys worked and others did not.

I went through every key combination and eventually found the correct ones for the hack.

Thanks