I imagine there's several ways to do it, it's a matter of figuring out which one is the most efficient for the situation at hand.
For instance, you could log what key was pressed with its own mouse event, then detect a generic mouse release event not tied to the key, look up the log that recorded what key was pressed, and then react accordingly to that. I wouldn't think it would be the best method for a multi-touch device though.
Yeah this was just a soft-launch for MWC. We're planning a proper launch soon with more context for the user, proper feature detection, categories, etc.
The goal is to get something decent on all browsers--and we'll open the repo on github for those who want to help us get there.
10 comments
[ 89.2 ms ] story [ 51.4 ms ] threadFor instance, you could log what key was pressed with its own mouse event, then detect a generic mouse release event not tied to the key, look up the log that recorded what key was pressed, and then react accordingly to that. I wouldn't think it would be the best method for a multi-touch device though.
Of the ones that work: Cool
I wish they would explain what parts of each demo is HTML5 and how it works.
The goal is to get something decent on all browsers--and we'll open the repo on github for those who want to help us get there.