Alright so I got hotkey switching in. Initial testing proves to be working. Of course with testing comes ideas, which inevitably lead to problems or more coding

So, Here's what I noticed as pros and cons with how it's coded as it is:

Pros:

Able to switch instantly to said monitor.
Kills broadcasting so you have full control of one computer
Remembers last mouse position so can hotkey between and keep mouse position.

cons:

Remembers mouse position so if you mouse between your mouse is on the border of said monitor.
Kills broadcasting so if you just want to hop mouse control you're out of luck.


There's others but here's a start. As you noticed everything is pretty much two sided. It's good but also bad. Good news is anyone who uses a keyboard like me or anything really that has macros you can have your macros to swithc monitor and re-enable broadcasting. I think that is the better solution for the time being as you would want to be able to utilize both ways. Only thing I can think to add is maybe some checkboxes maybe or a keybinding spot for modifier to hit. I.e. 1-5 switch between monitors and give instant control of said monitor... bind left shift to modifier so shift + 1-5 instantly goes to that monitor but leaves broadcasting enabled. I'll probably do something like that if you think it would be better then not having the option at all to hotkey between and keep broadcasting.

Once I get this in and working, I'm kind of interested in making the mouse broadcasting better support different resolutions. Whether it's absolute or relative makes no difference really. I would believe it would be easiest when enabled it broadcasts to all clients absolute position. Then each client figures out it's own ratio to place the cursor, then takes relative movement and modifies it by it's ratio compared to the server..

Hmm I'll have to look at the code. I'm sure there is a nice slick way of doing it with low overhead. Should only need to happen once per connection. Then jsut needs to mousePos.x * xRatio everytime it got a relative movement. And if it ever got out of synch you could just toggle broadcasting on off and it would realign the mouse position. Anyways, I'll look into that, and any ideas on display hopping let me know. I'll see if I can post a build of it tonight, if not then it will be up here tomorrow after I get home from work.

*EDIT*

Uploaded:

MultiBox w/Display Shortcuts: http://ultrashare.net/hosting/fl/69107c171c