[whatwg] Idea for having InputXML Or ClickXML for HTML5+
Narendra Sisodiya
narendra at narendrasisodiya.com
Mon Feb 28 22:05:44 PST 2011
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
└─────────────────────────┘
More information about the whatwg
mailing list