JB would be so proud

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

JB would be so proud

Post by Nach »

ZSNES just got a whole lot cooler.

As far as we know ZSNES is now the first PC gaming application ever to support two mice for different inputs :D

Image

As the image shows, you can now select input on each port seperately allowing for mouse+mouse or mouse+super scope at once.

Make sure to send a case of beer to pagefault for adding this new feature and cleaning up the Windows port. Also send thanks to Ryan C. Gordon for the excellent ManyMouse.

List of known affected games:

Arkanoid - Doh It Again
Bishoujo Senshi Sailor Moon S - Kondo ha Puzzle de Oshiokiyo!
Fun 'N Games
Koutetsu no Kishi
Koutetsu no Kishi 2
Koutetsu no Kishi 3
Lord Monarch
Motoko-chan no Wonder Kitchen
Operation Thunderbolt
Revolution X
Shien's Revenge
Super Castles
T2 - The Arcade Game
Tin Star
Tokimeki Memorial

Linux users make sure you

Code: Select all

chmod a+r /dev/input/*
after both mice are plugged in.

DOS users, sorry no feature for you.

I hope everyone else can appreciate how cool this feature is and enjoys it.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Mike
ZBoard Prince
Posts: 452
Joined: Tue Aug 16, 2005 11:59 am
Location: Long Island
Contact:

Post by Mike »

Yes that's an excellent feature.
**Prince of the Zsnes board**
*Smash Champ*
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

For those Windows users dying to test: http://nsrt.edgeemu.com/zsnesw-mice.zip

And remember, plug in both mice before starting ZSNES.
Last edited by Nach on Mon Mar 27, 2006 2:36 pm, edited 1 time in total.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

Sweet deal. I have to say, there have been more GUI changes in the past few weeks than I can remember for the past year.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
Ichinisan
Veteran
Posts: 603
Joined: Wed Jul 28, 2004 8:54 am

Post by Ichinisan »

I'll try it out when I have some guests!

Will the final code poll for HID pointing devices and allow you to decide which one goes to which port?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

We have the final code in CVS now.

Unless someone wants to add some tricky GUI code to manage your HID devices, it's mouse0 and mouse1.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Lord Alpha
Lurker
Posts: 165
Joined: Wed Jul 28, 2004 3:15 am
Location: The Land of Insanity
Contact:

Post by Lord Alpha »

Is it neccasary to modify X.org's config file too?
It is better to be silent and thought a fool then to open your mouth and remove all doubt

I am Zophar, Master of Sh*t!

[url=http://archlyn.bravejournal.com]View my blog[/url]
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Lord Alpha wrote:Is it neccasary to modify X.org's config file too?
This is unrelated to X.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

A heads up about the lib we're using.

Code: Select all

  What works:

    * Linux 2.4/2.6/etc through the "evdev" kernel interface.
    * MacOS X (and Darwin?) through IOKit's HID Manager API.
    * Windows XP and later through the WM_INPUT/RawInput API.
    * Compiles/runs on Linux (x86 tested, gcc3.3).
    * Compiles/runs on MacOS X (PowerPC tested, gcc3.3).
    * Compiles/runs on Windows (x86 tested, Platform SDK).
    * May compile and run elsewhere with little to no modification. Success stories and patches are welcome. 
I also tested with:
Linux x86 GCC 4.0, works.
Windows x86 GCC 3.4, works.

The author told me he'll look into BSD support.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
kode54
Zealot
Posts: 1140
Joined: Wed Jul 28, 2004 3:31 am
Contact:

Re: JB would be so proud

Post by kode54 »

Nach wrote:As far as we know ZSNES is now the first PC gaming application ever to support two mice for different inputs :D
Stealing joy is my job. Or perhaps I am only opening more avenues for two player joy.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Re: JB would be so proud

Post by Nach »

kode54 wrote:
Nach wrote:As far as we know ZSNES is now the first PC gaming application ever to support two mice for different inputs :D
Stealing joy is my job. Or perhaps I am only opening more avenues for two player joy.
Perhaps I should ammend that to be portable then? Unless that program you linked to is portable and does that on other OSs too.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Sith
Lurker
Posts: 100
Joined: Tue Jul 19, 2005 12:32 pm
Location: Belgium

Post by Sith »

Zsnes definately supports the most Snes features. :)
Great work again. 8)
[url=http://zsnes.ipherswipsite.com/]Zsnes WIP[/url]
[url=http://byuu.cinnamonpirate.com/?page=bsnes]Bsnes[/url] by Byuu
[url=http://www.eidolons-inn.net/tiki-index.php?page=Kega]Kega Fusion[/url] by SteveSnake
[url=http://www.viceteam.org/]Vice[/url] by Viceteam
kieran_
Mugwump
Posts: 824
Joined: Fri Jul 30, 2004 9:05 pm

Post by kieran_ »

How many motherboards feature inputs for more than one mouse, or is there some sort of adapter that can be bought?
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

herzog wrote:How many motherboards feature inputs for more than one mouse, or is there some sort of adapter that can be bought?
Two PS/2 ports, one each for keyboard and mouse. But then a theoretically infinite number of USB ports and mice.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
kieran_
Mugwump
Posts: 824
Joined: Fri Jul 30, 2004 9:05 pm

Post by kieran_ »

Jipcy wrote:
herzog wrote:How many motherboards feature inputs for more than one mouse, or is there some sort of adapter that can be bought?
Two PS/2 ports, one each for keyboard and mouse. But then a theoretically infinite number of USB ports and mice.
I never even thought of USB mice... :oops:
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

herzog wrote:
Jipcy wrote:
herzog wrote:How many motherboards feature inputs for more than one mouse, or is there some sort of adapter that can be bought?
Two PS/2 ports, one each for keyboard and mouse. But then a theoretically infinite number of USB ports and mice.
I never even thought of USB mice... :oops:
I frequently forget about PS/2 mice.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
kieran_
Mugwump
Posts: 824
Joined: Fri Jul 30, 2004 9:05 pm

Post by kieran_ »

Jipcy wrote:
herzog wrote:
Jipcy wrote:
herzog wrote:How many motherboards feature inputs for more than one mouse, or is there some sort of adapter that can be bought?
Two PS/2 ports, one each for keyboard and mouse. But then a theoretically infinite number of USB ports and mice.
I never even thought of USB mice... :oops:
I frequently forget about PS/2 mice.
I thought that you could not use a mouse in the keyboard PS/2 slot, and vice versa.
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

nope

can't do that
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
Anime-niac
Rookie
Posts: 14
Joined: Sun Aug 08, 2004 5:22 pm

Re: JB would be so proud

Post by Anime-niac »

Nach wrote:ZSNES just got a whole lot cooler.

As far as we know ZSNES is now the first PC gaming application ever to support two mice for different inputs :D
Actually, its #2. MAME added RAWMOUSE support in 104u5.

Its only for WinXP though, so ZSNES definitely beats it to multi-platform support.
Reznor007
Lurker
Posts: 118
Joined: Fri Jul 30, 2004 8:11 am
Contact:

Re: JB would be so proud

Post by Reznor007 »

Anime-niac wrote:
Nach wrote:ZSNES just got a whole lot cooler.

As far as we know ZSNES is now the first PC gaming application ever to support two mice for different inputs :D
Actually, its #2. MAME added RAWMOUSE support in 104u5.

Its only for WinXP though, so ZSNES definitely beats it to multi-platform support.
MAME has supported multiple mice on Windows98 for a long time now, and recently added multiple mice for XP. I don't know if XMAME or MacMAME support it yet though.
KingHanco
Hazed
Posts: 79
Joined: Sun Feb 26, 2006 8:08 am

Good work guys.

Post by KingHanco »

It work great here. :D
"Zsnes is the best one there is." :)
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

What... and serial mice don't count? :P
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
crespowu

Post by crespowu »

Great job.I hope you can develop more amazing features.
neo_bahamut1985
-Burninated-
Posts: 871
Joined: Mon Sep 10, 2007 11:33 pm
Location: Unspecified

Post by neo_bahamut1985 »

Uh...little help? The link doesn't allow me to download it (it directs me to an unrelated site).
俺はテメエの倒す男だ! 宜しく! お前はもう死んでいる...
I.S.T.
Zealot
Posts: 1325
Joined: Tue Nov 27, 2007 7:03 am

Post by I.S.T. »

neo_bahamut1985 wrote:Uh...little help? The link doesn't allow me to download it (it directs me to an unrelated site).
Look at the dates, dude. It's an almost two year old post. That functionality is in Zsnes 1.51.
Post Reply