发明授权
US08638293B2 Method and apparatus for responding operations 有权
用于响应操作的方法和装置

Method and apparatus for responding operations
摘要:
A method for responding operations includes: intercepting a press-down event of a pointer equipment to obtain press-down position and time of the pointer equipment; intercepting a moving event of the pointer equipment to obtain a current position where the pointer equipment moves and time when the pointer equipment moves to the current position; calculating to obtain residence time, movement speed and movement direction of the pointer equipment according to the press-down position and time as well as the current position where the pointer equipment moves and the time when the pointer equipment moves to the current position; judging whether the current gesture is a dragging gesture or a scrolling gesture according to the residence time, movement speed and movement direction, executing a dragging operation if the current gesture is the dragging gesture, and executing a scrolling operation if the current gesture is the scrolling gesture.
公开/授权文献
信息查询
0/0