(05-21-2024, 04:04 AM)grymmjack Wrote:Ha! OK this is going to sound ridiculous, but my initial motivation was simple:(05-20-2024, 07:39 PM)madscijr Wrote:@madscijr I have to ask. Why are you using 2 mice at once? LOL! My brain can barely handle 1 mouse at a time. This sounds fascinating and I'm really curious why you'd want to do this. Your ingenious approach is fascinating as well. Goes to show where there is a will there is a way.(05-20-2024, 07:24 PM)Steffan-68 Wrote: Do both programs have to be in the same place on the monitor?(05-20-2024, 07:28 PM)SMcNeill Wrote: Sorry. I didn't notice the need for _SCREENCLICK.Thanks for the info. Now I'm going to switch gears and show you what this was all for:
reading multiple mice from QB64PE
I want to make 4-player or 8-player Pong games, that people can play on the same computer where everyone gets a mouse!
Even a 2-player Pong game - why in the 40 years since PCs have had mouses, has no one ever done this?
How many Pong games have you seen where the players have to use a keyboard? What is this crap?? LOL
For paddle games to be playable you need a mouse!
It's long overdue! USB optical mice are cheap and plentiful.
Beyond that, multiple mice will be useful for games, or collaborative drawing, puzzles, etc.
Anything that needs a pointer or a spinner.
And racing games - it's super easy and cheap to turn an optical mouse into a racing wheel - all you need is a broom handle or wood dowel with a wheel at one end, and 6 or so inches of the other end stuck into a section of foam pool noodle. Then you just mount the mouse against that with duck tape or whatever, and voila! Instant racing wheel! It works great for games like Super Sprint in MAME, I've tried it. But to make multiplayer games like Indy 800, we need multiple mice!
Taking the idea even further, did you know the Raw Input API can also do keyboards?
What about a split-screen multiplayer text adventure or coding game, where each player has their own keyboard and can fully type?
With the Raw Input API, we can do that!!