src/1.0.8/jquery.mobile-events.js
function touchStart(e) {
                $this = $(e.currentTarget);
                $this.data('callee1', touchStart);
                originalCoord.x = (e.originalEvent.targetTouches) ? e.originalEvent.targetTouches[0].pageX : e.pageX;
                originalCoord.y = (e.originalEvent.targetTouches) ? e.originalEvent.targetTouches[0].pageY : e.pageY;
                finalCoord.x = originalCoord.x;
                finalCoord.y = originalCoord.y;
                started = true;
                var origEvent = e.originalEvent;
                // Read event data into our startEvt:
                startEvnt = {
                    'position': {
                        'x': (settings.touch_capable) ? origEvent.touches[0].screenX : e.screenX,
                        'y': (settings.touch_capable) ? origEvent.touches[0].screenY : e.screenY
                    },
                    'offset': {
                        'x': (settings.touch_capable) ? Math.round(origEvent.changedTouches[0].pageX - ($this.offset() ? $this.offset().left : 0)) : Math.round(e.pageX - ($this.offset() ? $this.offset().left : 0)),
                        'y': (settings.touch_capable) ? Math.round(origEvent.changedTouches[0].pageY - ($this.offset() ? $this.offset().top : 0)) : Math.round(e.pageY - ($this.offset() ? $this.offset().top : 0))
                    },
                    'time': Date.now(),
                    'target': e.target
                };
            }
function touchStart(e) {
                $this = $(e.currentTarget);
                $this.data('callee1', touchStart);
                originalCoord.x = (e.originalEvent.targetTouches) ? e.originalEvent.targetTouches[0].pageX : e.pageX;
                originalCoord.y = (e.originalEvent.targetTouches) ? e.originalEvent.targetTouches[0].pageY : e.pageY;
                finalCoord.x = originalCoord.x;
                finalCoord.y = originalCoord.y;
                started = true;
                var origEvent = e.originalEvent;
                // Read event data into our startEvt:
                startEvnt = {
                    'position': {
                        'x': (settings.touch_capable) ? origEvent.touches[0].screenX : e.screenX,
                        'y': (settings.touch_capable) ? origEvent.touches[0].screenY : e.screenY
                    },
                    'offset': {
                        'x': (settings.touch_capable) ? Math.round(origEvent.changedTouches[0].pageX - ($this.offset() ? $this.offset().left : 0)) : Math.round(e.pageX - ($this.offset() ? $this.offset().left : 0)),
                        'y': (settings.touch_capable) ? Math.round(origEvent.changedTouches[0].pageY - ($this.offset() ? $this.offset().top : 0)) : Math.round(e.pageY - ($this.offset() ? $this.offset().top : 0))
                    },
                    'time': Date.now(),
                    'target': e.target
                };
            }
function touchStart ( e ) { $this = $ ( e . currentTarget ) ; $this . data ( 'callee1' , touchStart ) ; originalCoord . x = ( e . originalEvent . targetTouches ) ? e . originalEvent . targetTouches [ 0 ] . pageX : e . pageX ; originalCoord . y = ( e . originalEvent . targetTouches ) ? e . originalEvent . targetTouches [ 0 ] . pageY : e . pageY ; finalCoord . x = originalCoord . x ; finalCoord . y = originalCoord . y ; started = true ; var origEvent = e . originalEvent ; // Read event data into our startEvt: startEvnt = { 'position' : { 'x' : ( settings . touch_capable ) ? origEvent . touches [ 0 ] . screenX : e . screenX , 'y' : ( settings . touch_capable ) ? origEvent . touches [ 0 ] . screenY : e . screenY } , 'offset' : { 'x' : ( settings . touch_capable ) ? Math . round ( origEvent . changedTouches [ 0 ] . pageX - ( $this . offset ( ) ? $this . offset ( ) . left : 0 ) ) : Math . round ( e . pageX - ( $this . offset ( ) ? $this . offset ( ) . left : 0 ) ) , 'y' : ( settings . touch_capable ) ? Math . round ( origEvent . changedTouches [ 0 ] . pageY - ( $this . offset ( ) ? $this . offset ( ) . top : 0 ) ) : Math . round ( e . pageY - ( $this . offset ( ) ? $this . offset ( ) . top : 0 ) ) } , 'time' : Date . now ( ) , 'target' : e . target } ; }
Screen touched, store the original coordinate
Screen touched store the original coordinate