Two mouse detection?
BlitzMax Forums/BlitzMax Programming/Two mouse detection?
| ||
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? |
| ||
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? |
| ||
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. |
| ||
MouseParty, used in Big Kahuna Reef, is available to developers, I believe. Lots more information here: http://www.mouse-party.com/index.shtml |
| ||
Thanks, this feature can be implemented on Mac and Linux? |
| ||
I used MouseParty in a C++ game. Judging by the online hiscores at the time less than 1% of players used it. |