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: Modifying Mamewah for use with gamepad  (Read 1752 times)

0 Members and 1 Guest are viewing this topic.

J-Rod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:February 10, 2008, 06:17:07 pm
  • Gaming junkie
Modifying Mamewah for use with gamepad
« on: October 20, 2005, 10:35:27 pm »
I am currently using the gamepad alot with the J-Rcade, and would like to be extremely lazy while playing my NES/SNES. I have enabled the Joy, so I can navigate the menus using the pad, and changed the input in the ctrlr so I can select a game using a spare pad button. However, I'd like to be able to exit the emulator as well from the pad (wishful thinking?  :)) I know there are the hacked versions of FCE and ZSNES that have the esc function, but that doesn't really help. Am I up a creek without getting something like reshack and trying to hack the .exe myself? Any input is appreciated! -JC

sc1103

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:December 11, 2020, 08:37:35 pm
  • ......
Re: Modifying Mamewah for use with gamepad
« Reply #1 on: October 20, 2005, 11:07:00 pm »
I'm not sure how, but I'm pretty sure you could modify the ahk script to call for shutdown of a current app when you hit some button on the joypad.  Im not sure though if AHK takes gamepad input so you may have to use JOyToKey.  Speaking of which, you could probably remap the button to Esc through JoyToKey (I think ???)

J-Rod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:February 10, 2008, 06:17:07 pm
  • Gaming junkie
Re: Modifying Mamewah for use with gamepad
« Reply #2 on: October 20, 2005, 11:34:45 pm »
I googled joytokey, gotta love those foreign apps. Too tired to play tonight, but if you can map any keys or key combos? to a joy button, that would work. I could either map alt-f4, or use the hacked .exes and map esc. I'll have to check that out after work tomorrow. I was hoping for a more direct fix, but this might suffice. Thanks for the reply.

elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:January 13, 2025, 08:48:40 am
  • penguin poker
    • StickFreaks
Re: Modifying Mamewah for use with gamepad
« Reply #3 on: October 21, 2005, 02:21:53 am »
I'm fairly sure MAMEWah will accept USB gamepad input as control input.  From memory it's all well documented in the README files.

J-Rod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:February 10, 2008, 06:17:07 pm
  • Gaming junkie
Re: Modifying Mamewah for use with gamepad
« Reply #4 on: October 21, 2005, 07:25:46 am »
Yes, I think you are misunderstanding the problem, however. The issue is getting to be able to close out the FCE or ZSNES using only the controller.... I already have the controller working with mamewah to navigate menus and select games. Did you read the post or just reply to the topic?  ;)

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Modifying Mamewah for use with gamepad
« Reply #5 on: October 21, 2005, 08:54:18 am »
From memory it's all well documented in the README files.

That's a good one. Better get the prescription refilled!

 ;D  ;D  ;D
John

BlazinJ

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:November 08, 2005, 08:55:11 am
Re: Modifying Mamewah for use with gamepad
« Reply #6 on: November 08, 2005, 08:17:51 am »
I don't know if it's still an issue, but I had a similar problem and found the solution by using a free program called "Joy Cursor" (I'm sure this is similar to JoyToKey).  Actually, I'm not sure if that's the name of the program, but I do know a google search for "joycur" will yield results.  The Joy Cursor program allows you to map keys and key combinations to button presses on the gamepad.  I'm using a DualShock 2 Controller via a SmartJoy USB adapter, which works beautifully in MAMEwah.  I used Joy Cusror to map the "Alt-F4" combination to the R3 button (pressing in the right analog stick) which is inaccessible unless the "Analog" feature is activated on the gamepad.  This requires you to press the "Analog" button before hitting R3, so no accidental exits.  Once the R3 button is pressed, the emulator shutsdown and I'm instantly returned to MAMEwah.  My system is still in the early development stages, so I currently only have six emulators, but I exit them all like this and have not yet had any problems.

arcadecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:September 26, 2007, 06:17:06 pm
Re: Modifying Mamewah for use with gamepad
« Reply #7 on: November 09, 2005, 09:51:54 pm »
BlazinJ,

Thanks for the tip with joycur.  It works great as I was never able to get joytokey to work correctly. 
Just one question now. The only thing left to do is to get the controller to control the cursor in the form of the mouse.  Is it possible to get the analog stick to control act as a mouse and control the cursor using joycur?
Thanks again