Commit Graph

36 Commits

Author SHA1 Message Date
Michael Jumper
2f6dbde5da Use event-queue heuristics to detect and ignore mouse events caused by touch events. 2012-07-29 17:13:33 -07:00
Michael Jumper
50567d401b Fix setting of state within touchscreen events. 2012-07-27 23:00:00 -07:00
Michael Jumper
0da51499fe First basic absolute pointer implementation. 2012-07-27 23:00:00 -07:00
Michael Jumper
1c363ec37b Stubbed out Guacamole.Mouse.Touchscreen. 2012-07-27 23:00:00 -07:00
Michael Jumper
6800bd7329 Cleaned up Guacamole.Mouse.Touchpad and docs. 2012-07-27 22:59:59 -07:00
Michael Jumper
afdc4ed536 Split Guacamole.Mouse into Guacamole.Mouse (mouse event handling) and Guacamole.Mouse.Touchpad (touch event translation handling). 2012-07-27 22:59:59 -07:00
Michael Jumper
76fd31bd53 Properly offset mouse by document scroll amount (Firefox/Chrome, etc. inconsistency) - fixes ticket #124. 2012-05-01 14:33:31 -07:00
Michael Jumper
b2bcaef681 Fix non-left mouse button clicks (there may not be one touchstart event per touch). Fix setting/resetting of gesture_in_progress flag. 2012-04-09 13:57:58 -07:00
Michael Jumper
47b9e43559 Mouse acceleration. 2012-04-08 21:51:00 -07:00
Michael Jumper
df595d46ec Avoid crazy accelerating autoscroll by using clientX/clientY instead of screenX/screenY. 2012-04-08 21:22:09 -07:00
Michael Jumper
eaa233520c Calculate mouse position including scroll of overflow elements (cannot rely on pageX/Y). 2012-04-06 12:38:24 -07:00
Michael Jumper
f6868b8661 "device" not "display" (typo). Switch back to two-finger scroll. 2012-04-01 18:52:49 -07:00
Michael Jumper
818f081bb5 Set scroll and click thresholds relative to screen pixel density (if readable) and size of gesture. 2012-04-01 18:20:18 -07:00
Michael Jumper
5e2858a413 Move all thresholds into properties, implement scrollwheel via touch. 2012-03-30 23:12:19 -07:00
Michael Jumper
e22296bbff Check for last touch by verifying touch length 0, not 1. Fix wrong use of max() (should be min). 2012-03-30 22:59:46 -07:00
Michael Jumper
ed3d12fbce Implement right and middle-click. 2012-03-30 22:48:22 -07:00
Michael Jumper
8ad557cf31 Use screenX/screenY for touch. 2012-03-22 17:28:24 -07:00
Michael Jumper
7522c3a853 Fix ticket #114 - mouse position calculated incorrectly. 2012-03-20 10:14:49 -07:00
Michael Jumper
4e91f312ed Fix mousewheel support. 2012-02-23 10:23:36 -08:00
Michael Jumper
27ec480ccb No capture for anything. 2012-02-22 15:23:10 -08:00
Michael Jumper
3f2a79fd0f Use addEventListener() for mouse, fix handling of mouseout. 2012-02-22 15:14:27 -08:00
Michael Jumper
776054e33b Correct description of touch support. 2012-02-09 10:43:25 -08:00
Michael Jumper
b4ee710b6f Prevent mouse from leaving screen when moved via touch events. 2011-12-19 20:46:46 -08:00
Michael Jumper
935088d9d4 Relicensed as Mozilla/LGPL/GPL. 2011-12-04 17:15:18 -08:00
Michael Jumper
50ff738cda Drag support. 2011-08-29 14:31:23 -07:00
Michael Jumper
98a5f06120 Tap support, ignore mouse events while touch events are in progress. 2011-08-27 12:13:10 -07:00
Michael Jumper
1e47ace656 Changed simulated mouse to simulated touchpad. Temporary lack of tap support. 2011-08-26 16:44:49 -07:00
Michael Jumper
68de09b857 Merge branch 'unstable' into touch-support
Conflicts:
	src/main/resources/mouse.js
2011-08-26 14:00:14 -07:00
Michael Jumper
4b4f21e9ab More JSDoc and cleanup. 2011-07-09 09:12:06 -07:00
Michael Jumper
aea01a5cdb Better mouse state object, more JSDoc, cleanup. 2011-07-07 23:19:19 -07:00
Michael Jumper
3e65c46204 JSDoc + namespace, some cleanup. 2011-07-05 22:13:45 -07:00
Michael Jumper
bd477daa2c More migration to traditional JS events. 2011-07-05 10:16:03 -07:00
Michael Jumper
567c4a4a11 Experimental working touch-based mouse. 2011-06-09 09:25:47 -07:00
Michael Jumper
00d4cf6858 Release mouse buttons if mouse leaves browser window. 2011-04-26 12:31:20 -07:00
Michael Jumper
53755b8070 Extracted tunnel, mouse, and keyboard handling from GuacamoleClient 2011-03-02 16:01:03 -08:00
Michael Jumper
098a521a4b Initial commit 2011-01-22 22:08:14 -08:00