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: JoyToKey Question  (Read 4556 times)

0 Members and 1 Guest are viewing this topic.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
JoyToKey Question
« on: June 24, 2005, 04:20:55 pm »
I have been experimenting with JoyToKey on a Windows XP machine. I beleive everything is working as expected. I see the docs aren't English. I also noticed that you can send it your cfg file as a commandline parameter, "joytokey snes" or "joytokey nes". I would like to launch it along with an emulator using a batch file when required, however, I can't figure out how to get it to close when I'm done. It just keeps running in the system tray.

I also try a batch file like so:

cd\
c:
cd joytokey
joytokey.exe letters
cd\
cd realityboy
reality_boy.exe "c:\realityboy\roms\Galactic Pinball (JU) [!].vb"

but the processing stops after the line "joytokey.exe letters" and never launches the emulator althout joytokey does start.

Any Ideas,
John

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoyToKey Question
« Reply #1 on: June 24, 2005, 10:06:07 pm »
Well I have found that if I incase it in one of my wrappers it exits when I kill the wrapper with the ESC key. I guess I could hack something together.

John

Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Re: JoyToKey Question
« Reply #2 on: July 07, 2005, 09:41:21 pm »
Did you ever find a solution to this?  If I read this correctly, you want to launch JoyToKey for a specific emulator, then get JoyToKey to close after the emulator has been exited.  I've been trying to come up with a solution to this also.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoyToKey Question
« Reply #3 on: July 10, 2005, 07:41:56 pm »
Not yet. I've been away for a few days. Will probably work on it later this week.

John

KenToad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1509
  • Last login:Today at 01:36:10 am
  • Flap Flap Flap
Re: JoyToKey Question
« Reply #4 on: August 05, 2005, 12:33:28 pm »
Hey Jcrouse,

  Have you made any progress getting the keyboard emulator to exit when you want it to?  I'm assuming that there is no commandline argument for JoyToKey to close.

Cheers,
KenToad

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoyToKey Question
« Reply #5 on: August 06, 2005, 02:21:55 am »
Ken,
    The author of MinWAH has built in support (well, sort of) to the latest build of MameWAH which is still in beta. I haven't tried it yet, but you can launch it as a pre_emulator application with a flag that kills it when the emulator exits. I'll try it later today.

John

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: JoyToKey Question
« Reply #6 on: August 06, 2005, 10:18:16 am »
Ken,

I suspect you could maybe do the same thing with Howard Casto's universal wrappers or with AutoHotKey (see the Lazarus Homepage) as well, but I haven't played with either enough to sa y for sure, and they're not the most intuitive programs.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoyToKey Question
« Reply #7 on: August 07, 2005, 08:32:03 pm »

KenToad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1509
  • Last login:Today at 01:36:10 am
  • Flap Flap Flap
Re: JoyToKey Question
« Reply #8 on: August 09, 2005, 02:04:28 pm »
Hey Jcrouse,

  Have you made any progress getting the keyboard emulator to exit when you want it to?  I'm assuming that there is no commandline argument for JoyToKey to close.

Cheers,
KenToad

It works perfect with the new commandline switches for pre and post emulator executables in the latest beta version of MameWAH.

John

Hey Jcrouse,

  I'm not sure if the version I have has that feature.  I'll try and check it out soon.  Also, I got a little program called killJoyToKey if all else fails.

Cheers and Thanks,
Ian

KenToad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1509
  • Last login:Today at 01:36:10 am
  • Flap Flap Flap
Re: JoyToKey Question
« Reply #9 on: August 10, 2005, 01:18:51 pm »
Hey, is Mameworld forums the only place with the beta version available for download?  I'm not a member there and therefore I can't download it.

Any help would be very much appreciated.  I'm trying to get joyto key started on Mamewah 161 and it's losing focus. 

Cheers,
KenToad 

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoyToKey Question
« Reply #10 on: August 10, 2005, 01:29:44 pm »
Why not just join? If you don't want to drop me an email at the address on my website, http://home.comcast.net/~cpviewer and I'll email it to you.

John

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: JoyToKey Question
« Reply #11 on: August 10, 2005, 04:44:47 pm »
Also, I got a little program called killJoyToKey if all else fails.
Something you wrote or something you found?
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoyToKey Question
« Reply #13 on: August 10, 2005, 07:14:51 pm »
Been there, You need to add the {nowait}{autoquit} flags. :) You'll notice that if you Ctrl-Alt-Del and kill JoyToKey then MameWAH launches. Actullay I don't run it in the mamewah.ini file, just in my virtualboy.ini file then when I quit the emulator the {autoquit} flag kills JoyToKey. It works great.

John

Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Re: JoyToKey Question
« Reply #14 on: August 10, 2005, 07:30:05 pm »
Ahhhh, I was missing that part.  Thank you.  Works like a charm now!

KenToad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1509
  • Last login:Today at 01:36:10 am
  • Flap Flap Flap
Re: JoyToKey Question
« Reply #15 on: August 11, 2005, 10:15:51 am »
Also, I got a little program called killJoyToKey if all else fails.
Something you wrote or something you found?

Definitely something I found.  Uh Cain't right, if you know what I mean.

Cheers,
KenToad

KenToad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1509
  • Last login:Today at 01:36:10 am
  • Flap Flap Flap
Re: JoyToKey Question
« Reply #16 on: August 11, 2005, 10:18:29 am »
Also, what flags are you guys using, i.e. {nodosbox}{safelaunch} if any?  I guess I'll go ahead and sign up for Mameworld, although I don't really like the format of the forum.  I hate those heirarchical lists.  This forum's appearance strikes me as being friendlier.

Cheers,
KenToad

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: JoyToKey Question
« Reply #17 on: August 11, 2005, 10:25:37 am »
c:\joytokey\joytokey.exe config_you_want_load{nowait}{autoquit}

That's it,
John