[whatwg] Idea for having InputXML Or ClickXML for HTML5+

We can record mouse and keyboard activity in xml. There are many events
which are resolution independent.
for example mouse clicks, button press events . Now suppose you are dealing
with some animation or game or just a slideshow. what you do ? you type some
buttons from mouse or keyboard. Now if you can record the timeline of these
events then we can play back at anytime.
The idea is very interesting for having automated slideshows ..
Example

<input>
            <click input="mouse" button="left" time="30" x="30"
y="40"></click>
            <click input="mouse" button="left" time="60" x="70"
y="40"></click>
            <click input="mouse" button="left" time="130" x="30"
y="140"></click>
            <click input="keyboard" button="->" time="340"></click>
            <click input="keyboard" button="<-" time="630"></click>
            <click input="keyboard" button="Ctrlz+Z" time="980"></click>
</input>


-- 
???????????????????????????
?    Narendra Sisodiya
?    http://narendrasisodiya.com
???????????????????????????

Received on Monday, 28 February 2011 22:05:44 UTC