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: Key enc works in Windows, not mame?  (Read 1062 times)

0 Members and 1 Guest are viewing this topic.

Nvts

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:September 15, 2010, 02:30:14 pm
Key enc works in Windows, not mame?
« on: June 12, 2008, 09:07:01 am »

First time messing with this type of stuff, and I have something I don’t quite get.

I picked up a box full of goodies, and threw together a quick shoebox test console. I set up a Hagstrom KE72-t with an IOX36 breakout boards, forgot  what joystick I tried out, and a couple buttons.  It seems like everything was working out, and since it was late, I didn’t try to reprogram the KE72, and opened notepad to see what keys I was getting.  It seemed to be working fine in notepad, spewing out keys as I moved and pushed things, just like I would expect.

When I went into mameui, and mapped the input to the keys that came through the encoder, it didn’t work.  Well, it did, but so very rarely that it was unusable.  If I pushed a button, it would actually fire off every 5 or 10 pushes.  Same with the joystick.  It was getting way too late, so I had to pack up and get to bed.

Did I miss something in the configuration (other than programming the encoder to give the data that I actually want) that would cause this?
« Last Edit: June 12, 2008, 09:17:33 am by Nvts »
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Key enc works in Windows, not mame?
« Reply #1 on: June 12, 2008, 07:31:18 pm »
Never got to testing that encoder, but a couple possibilities pop to mind:

- ke72 not rawinput compatible (doubtful, but ???)
- ke72 sends key repeats (down, up, down, up), and mame polls when encoder is ending up (mame does current state polling, not by event.)  If this, can you disable keyrepeat on the ke72, if enabled?  (not likely as you're only hitting 1 out of 5, not 1/2 the time, maybe?)
- was this only during remap?  was the game paused?  did you only try quick presses, or did you also try holding the button for ~ 1/2 a second?


Mostly guesses, probably not much help, sorry.
Robin
Knowledge is Power

Nvts

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:September 15, 2010, 02:30:14 pm
Re: Key enc works in Windows, not mame?
« Reply #2 on: June 13, 2008, 09:33:13 am »
Turns out that once I went through and programmed it to the values I wanted, it worked just fine.  If I had to guess, the pass through keyboard was conflicting with the controls.  Donno.  Works great now though. :)  I just ran out of time the night before, after staying up a couple hours later than I should :)
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."

LPZ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:April 11, 2015, 01:55:21 pm
  • 2nd place is the first loser!
Re: Key enc works in Windows, not mame?
« Reply #3 on: June 13, 2008, 11:33:41 am »
I had similar trouble like that with my ke72t.  Just run the ke72load.exe program again and you should be ok.  I found out that when I would unplug my encoder, when the computer was on, I would have to reload.  Other than that, I am very happy with the 72.
Dual 50 Caliber Continuous Fire Leon Type Machine Guns......OH YEAH!!!!!