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 5852 times)

0 Members and 1 Guest are viewing this topic.

arcadecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:September 26, 2007, 06:17:06 pm
JoyToKey question
« on: November 25, 2003, 02:06:31 pm »
I just downloaded a copy of JoyToKey ver. 3.74 on the net.  First off, I want to get clear, will this program allow me to use my joystick to move the onscreen cursor, etc. (everything the mouse would ordinarily do)?  So basically, one would not need a mouse at all because the joystick would serve as the "mouse".  
If so, I have looked at the program some, but somewhat confused already.  I have an PS2 arcade stick I am using with a PS2 to USB adapter.  I want the joystick to assume all the functions of the mouse and it would be nice if the buttons would replace other key parts of MAMEwah--such as the '2' key, escape, etc. so that everything could run off of the joystick.  
If this is possible, could someone give me some direction on how this is done.  A quick tutorial if you would.  Greatly appreciated.


Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:JoyToKey question
« Reply #1 on: November 25, 2003, 07:12:54 pm »
AFAIK JoyToKey is used to map PC joystick/pad inputs to keys (not mouse functions).

So yes, you could control MAMEWAH with your PS2 stick (map the inputs to whatever keys you are using in MAMEWAH), but the stick would not move the mouse cursor.

That said, I have not used it for a long time so maybe you can map to mouse functions ???

eightbit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1849
  • Last login:September 07, 2019, 07:38:11 pm
  • My cab is never done...
Re:JoyToKey question
« Reply #2 on: November 27, 2003, 09:45:01 pm »
Joytokey does not replace the mouse. It replaces the keyboard. Hence the name "JOY TO KEY".

Mamewah does not support mouse input, you do want joytokey if what your looking for is to use mamewah with a joystick.
My statements are my own opinions. They have the value that the reader gives them. My opinion of my opinion varies between foolish and brilliant and these opinions often change with new information.

rockhopper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:December 26, 2015, 05:15:36 pm
  • I love orange soda!
Re:JoyToKey question
« Reply #3 on: November 27, 2003, 10:44:38 pm »
in windows xp, you can turn on mousekeys (in control panel somewhere) which allows you to use the numkeyspad as a mouse, so if you were using xp, and enabled this, then you could use your joystick as a mouse....unless i'm missing something? anyone??

Spaced Invader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 585
  • Last login:July 15, 2008, 07:27:49 am
  • Resistance is... probably a good idea.
Re:JoyToKey question
« Reply #4 on: November 28, 2003, 06:26:02 pm »
Yes JoyToKey CAN be used to emulate mouse functions...including movement; right, left, and middle button clicks; and mouse wheel operation. So, the whole joy to key title thing is a bit misleading.  ;)

The documentation leaves a lot to be desired, but the program is truly powerfull and very versatile. I've been playing with it for a while...and think I have it figured out. I have to leave for work now but I'll put a mini tutorial together for you tomorrow if you're still interested. In the mean time I suggest you just play with it...it's not that complicated.  ;D
All Your Base Are Belong To Us!

arcadecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 268
  • Last login:September 26, 2007, 06:17:06 pm
Re:JoyToKey question
« Reply #5 on: November 29, 2003, 11:00:32 am »
Spaced Invader,

I would love to have that "mini-tutorial" that you mentioned for using JoytoKey for mouse and keyboard function.  Please create such a tutorial and post to the forums or send to me.  I would GREATLY appreciate it!
Thanks again.

Spaced Invader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 585
  • Last login:July 15, 2008, 07:27:49 am
  • Resistance is... probably a good idea.
Re:JoyToKey question
« Reply #6 on: December 02, 2003, 08:45:46 am »
Spaced Invader,

I would love to have that "mini-tutorial" that you mentioned for using JoytoKey for mouse and keyboard function.  Please create such a tutorial and post to the forums or send to me.  I would GREATLY appreciate it!
Thanks again.

Sorry for the delay, I have had the worst case of the flu I've ever had in my life. I still feel pretty achey (is that a word?) but all of the nastier symptoms are gone.  ;D

I'll knock something out tonight or tomorrow at the latest. I've been looking closer at this thing an it can do some really cool things...a press of the button and player 1 joystick only recognizes U/D/R/L (a true software fourway...it completely ignores diagonal input); another button turns it into a diagonal stick (Qbert); another and it functions as a mouse; or back to standard eight way.

Like I said I'll work on something...
All Your Base Are Belong To Us!

Spaced Invader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 585
  • Last login:July 15, 2008, 07:27:49 am
  • Resistance is... probably a good idea.
Re:JoyToKey question
« Reply #7 on: December 03, 2003, 11:23:44 am »
Several configuration files can be created with different functions. (eg. 4-way, 8-way, mouse, etc...)



You can see I've selected "Handle diagonal input as a special case" in the second image. Using this setting I could provide key settings for the primary directions and leave the diagonals disabled...this will cause diagolals to be completely ignored giving a very effective software 4-way. Only enter directions for diagonals (leaving primary directions blank) for "Q-bert" mode. Leave "Handle diagonal input as a special case" unchecked for normal 8-way functioning.  



The following are captures of screens used to setup the function of each button/stick direction. To enter setup double click the desired button as shown on image #1. (Note: While all possible buttons are shown not all will be avalible depending on your pad/stick.)







Ok. I've probably missed tons...so, If you have any questions, let me know.  ;D
All Your Base Are Belong To Us!

Spaced Invader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 585
  • Last login:July 15, 2008, 07:27:49 am
  • Resistance is... probably a good idea.
Re:JoyToKey question
« Reply #8 on: December 05, 2003, 06:27:08 pm »
One thing I forgot to mention. the joytokey config files are just txt files labeled *.cfg in the joytokey directory. So, you can swap 'em around at the start/end of a game/emulator via bat files. Handy info easily missed...just so ya know.  ;)
All Your Base Are Belong To Us!