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: Nestopia - Zapper Button Input  (Read 5701 times)

0 Members and 1 Guest are viewing this topic.

markronz

  • We traced the call, and it came from....INSIDE YOUR ARCADE MACHINE!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:April 12, 2019, 12:03:08 am
  • Game on!
Nestopia - Zapper Button Input
« on: January 20, 2011, 09:50:12 am »
So I use Nestopia for my NES emulation.   When playing a Zapper game like Dunk Hunt for example, I've noticed that to shoot I have to left click.   I was just wondering if anyone knew if there was a way to configure what button is the fire button?   I would rather set another one of my buttons to be the fire button since my mouse buttons aren't available on my control panel.   I know how to set the inputs for everything else in Nestopia, but don't see that option any where.  It seems weird that you can reconfigure all the other inputs but not that one.   Any one know if its possible?  Is it just just something that I'm missing?

Thanks!

markronz

  • We traced the call, and it came from....INSIDE YOUR ARCADE MACHINE!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:April 12, 2019, 12:03:08 am
  • Game on!
Re: Nestopia - Zapper Button Input
« Reply #1 on: January 20, 2011, 05:05:13 pm »
I was trying to get creative with an AHK script, but that doesn't appear to work either.   I did the following in an AHK script:

Code: [Select]
~c::
Process, Exist, nestopia.exe
If (ErrorLevel != 0) ; If it is running
   {
    Send {Click}
   }
return

So every time you press my player 1 button 1 (which is the keyboard letter 'c') it was supposed to send a left click at the mouses current position.   But only do this when nestopia is running.    Unfortunately, this did not work.  For some reason this script does work, just not in Nestopia.   Like if I press 'c' in notepad (with Nestopia running in the background) it will still type a 'c' and the cursor will click wherever the mouse is currently posistioned.  But when nestopia is in focus, this simulated left click doesn't register for some reason.   So yeah, I have no idea why that doesn't work, but I'm back to square one.   If anyone has any creative ideas of how to correct this, please let me know!