Two mouse detection?

BlitzMax Forums/BlitzMax Programming/Two mouse detection?

orgos(Posted 2009) [#1]
Hello last days I play some game called Big Kahuna Riff or some thing like that, the game have one mode where two player can play on the same game with two mouse. There is some way in BMax to make this? Detect the cursor position and events for two mouse?


Nate the Great(Posted 2009) [#2]
well maybe you could use a process that comes with the mice to send it to a tcp stream for bmax to intercept? Also maybe look into multitouch programs that will accept two or more mice?


Baystep Productions(Posted 2009) [#3]
Probably have to go through device drivers and such. Read the buffers and all from the first and second device through their ports. Joysticks would work easier though. Cause sounds like that would require a lot of kernel coding to drive 2 simultaneous devices and create buffers for them and all.


Gabriel(Posted 2009) [#4]
MouseParty, used in Big Kahuna Reef, is available to developers, I believe. Lots more information here: http://www.mouse-party.com/index.shtml


orgos(Posted 2009) [#5]
Thanks, this feature can be implemented on Mac and Linux?


DavidDC(Posted 2009) [#6]
I used MouseParty in a C++ game. Judging by the online hiscores at the time less than 1% of players used it.