View unanswered posts | View active topics It is currently Fri Apr 19, 2024 7:47 pm



Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
 Using 2 mice with XStoryPlayer? 
Author Message
Rank 17
Rank 17
User avatar

Joined: Wed Apr 17, 2013 10:59 am
Posts: 509
Location: Cursed Pickle Jar
I'm not sure if I've asked this before, but I've decided that it worth its own thread. Especially now that that mid-clicking can be used to switch between hand control and mouse based walking control.

But is it possible to have XSP recognize when 2 USB computer mouses have been plugged in, so that each mouse can be used to each hand? Or is it something that out of the question programming wise?

Here's my idea.

Step 1:
Have two mouses plugged in to your computer.

Step 2:
Have XSP recognized both mouses as separate devices somehow.

Step 3:
Have the second mouse be mapped to the left hand controls.

This way, you could have 2 cursors controlling 2 hands at once, have one mouse controlling walking and the other controlling which ever hand, or have one mouse controlling walking while the other mouse controls how the body leans over.

(I miss being able to lean over by the way, but I'll get into that later when I have balanced my thoughts on the subject.)

I don't think it's a secret that I want XSP to have a prehensile control system. There is only so much you can do when you're limited to only being able to manipulate one object or only one point of an object at a time. Just look at how much more control you get in 2.1 when you exploit the fact that spreader bar will magically attach itself when it get's close enough.
Attachment:
File comment: Note that the shackles on the platform also does this behavior. I going to call these things MBEs or Magical Bondage Equipments from now one.
Magical Bondage Equimpent.zip [1.5 MiB]
Downloaded 700 times

_________________
Please follow me on Tumblr and Twitter.
XStoryPlayer discussion over at DigitalEro forums.
How to make easy MOD installers.
HOW TO START MODDING


Tue Dec 09, 2014 9:44 pm
Profile
Rank 16
Rank 16

Joined: Thu Jul 31, 2014 2:29 pm
Posts: 351
I don't think this is possible, actually. Windows can see more than one mouse, but doesn't know which one is being moved.


Wed Dec 10, 2014 10:15 pm
Profile
Rank 15
Rank 15

Joined: Tue Oct 07, 2014 1:11 am
Posts: 231
The game Real Girlfriend from Illusion does this. Would be interesting in XSP were it possible.


Last edited by Anaquis on Thu Dec 11, 2014 12:03 am, edited 1 time in total.



Wed Dec 10, 2014 11:44 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Wed Apr 17, 2013 10:59 am
Posts: 509
Location: Cursed Pickle Jar
Okay, I decided to google "can windows detect 2 different mice" and I got linked to this.
Is it possible to detect two different mice at the same time, and have their movements recorded seperately?

That page also linked me to sample code software which revealed that yes, multi-mouse recognition is possible on Windows XP.
Attachment:
File comment: It also revealed that I bought a new mouse for a reason.
multi mouse test.png
multi mouse test.png [ 22.67 KiB | Viewed 17977 times ]

_________________
Please follow me on Tumblr and Twitter.
XStoryPlayer discussion over at DigitalEro forums.
How to make easy MOD installers.
HOW TO START MODDING


Wed Dec 10, 2014 11:57 pm
Profile
Rank 16
Rank 16

Joined: Thu Feb 13, 2014 3:54 pm
Posts: 379
Location: United States
Pickled Cow wrote:
...on Windows XP.


Well... time to pull out the virtual box...


Thu Dec 11, 2014 12:01 am
Profile
Rank 17
Rank 17
User avatar

Joined: Wed Apr 17, 2013 10:59 am
Posts: 509
Location: Cursed Pickle Jar
TheMohawkNinja wrote:
Pickled Cow wrote:
...on Windows XP.


Well... time to pull out the virtual box...


XP is the system I'm stuck with at the moment. That page I linked to also mentions stuff being done on Windows 7.

Try using that Mouse Party Sample code I linked to and see if it works, assuming you have second mouse laying around somewhere.

_________________
Please follow me on Tumblr and Twitter.
XStoryPlayer discussion over at DigitalEro forums.
How to make easy MOD installers.
HOW TO START MODDING


Thu Dec 11, 2014 12:20 am
Profile
Rank 11
Rank 11
User avatar

Joined: Sat Feb 09, 2013 3:24 am
Posts: 75
Location: Singapore
@Pickledcow

Hi there windows can detect dual mice. I have used it on both vista and windows 7. Illusion game Real Kanojo actually allows the use of dual mice in that game with webcam to detect face tracking as well. :D


Thu Dec 11, 2014 3:46 am
Profile
Rank 16
Rank 16

Joined: Thu Jul 31, 2014 2:29 pm
Posts: 351
Huh. Well that's something.


Thu Dec 11, 2014 3:44 pm
Profile
Rank 17
Rank 17
User avatar

Joined: Wed Apr 17, 2013 10:59 am
Posts: 509
Location: Cursed Pickle Jar
Oh I just though of something. How about the secondary Mouse's alt mode, be direct control of the hips, independent of walking entirely? :D Plus the ability to move or hips side to side!

_________________
Please follow me on Tumblr and Twitter.
XStoryPlayer discussion over at DigitalEro forums.
How to make easy MOD installers.
HOW TO START MODDING


Wed Dec 24, 2014 7:46 am
Profile
Rank 16
Rank 16
User avatar

Joined: Wed Aug 07, 2013 4:51 pm
Posts: 314
Maybe it would be best to find a control mode where one hand can be free at all times ;)


Wed Dec 24, 2014 2:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.