4 ms·
Full screen is F11. It almost covers the mouse problem, too.
by rorrr 15y ago
Full screen is F11. It almost covers the mouse problem, too.
- daeken 15y agoIt doesn't cover the mouse problem for one simple reason: acceleration. Sure, I can tell when the pointer is on the border to my user-fullscreened window (I even have code to make sure that the user is fullscreened), but you suddenly lose track of acceleration. Since you can't grab and hide the cursor and just track raw movement deltas, you can't implement your own acceleration. That makes it impossible to do good mouse grab with current facilities.
- magicalist 15y agoI'm surprised you aren't already aware of this: the mouse lock API is being worked on in the W3C WebApps and Web Events working groups. Implementations in Chrome/Webkit and Firefox very soon, hopefully. http://www.w3.org/2010/webevents/charter/2011/Overview.html#mouselock http://www.w3.org/2010/webevents/charter/2011/Overview.html#...
- daeken 15y agoI'm aware of it, but it's just not there yet. It's very early stage -- just last month there were arguments about how to handle permissions around this even. It's at least 6 months from being mainline, if not longer.