Commit Graph

29 Commits

Author SHA1 Message Date
Michael Jumper
2e7603bf11 Only cancel key events if they are non-typable. Track key states to avoid doubling of keystrokes via oninput. Do not reset value of eventTarget. (All necessary to avoid resetting the state of mobile keyboards when typing into eventTarget) 2012-03-29 10:51:12 -07:00
Michael Jumper
757ddec1ae Add default connection name, do not hide cursor after error, remove old classes. 2012-03-24 22:57:40 -07:00
Michael Jumper
be0a0a0226 No need for constant "GUAC" or reselection. Added oninput handler such that voice input, etc. will also work! 2012-03-23 23:18:41 -07:00
Michael Jumper
6b4d49d697 Use screenX/screenY for touch. 2012-03-22 17:28:17 -07:00
Michael Jumper
2ac866ad32 Add constants for previously hard-coded values. 2012-03-22 14:02:44 -07:00
Michael Jumper
6c124ccb71 Add movement threshold for long-press cancel, move handling of menu close on mouse movement to better place. Handle mouse close on touch separately. 2012-03-22 13:46:11 -07:00
Michael Jumper
2ef57e248f Include status in title. 2012-03-22 13:01:15 -07:00
Michael Jumper
41e7bc7834 Second press of "Show Keyboard" should show the guac OSK if the native OSK is already in use. 2012-03-21 23:14:47 -07:00
Michael Jumper
0c48a7898a Rename assumeNativeOSK to nativeOSK, automatically reset nativeOSK to false if menu open initiated by mouse. 2012-03-21 22:09:13 -07:00
Michael Jumper
94d0b001bb Automatically reset text area on keyboard events if native OSK is enabled/assumed. Hide text area via CSS. 2012-03-21 16:42:01 -07:00
Michael Jumper
0c4c47ecc4 Add text field event target, focus event target if "Show Keyboard" is clicked and use exposed the menu via long-press. Ensure backspace always sends a key event by always keeping text within the event target. 2012-03-21 16:10:49 -07:00
Michael Jumper
64248bb181 Fade out display on error. 2012-03-13 21:45:01 -07:00
Michael Jumper
64b8bb0295 Do not require classList. 2012-03-01 12:56:21 -08:00
Michael Jumper
a0d81dbbba Showing menu whenever mouse leaves document is too aggressive ... just using menuControl for now (see #94). 2012-02-23 15:46:11 -08:00
Michael Jumper
29cb34d2a1 Move mouse events to new display. 2012-02-16 21:41:17 -08:00
Michael Jumper
cbb6490129 Refactor supporting recent changes to guacamole-common-js (removal of getLayers() from Guacamole.Client, changes to Guacamole.Client constructor prototype, and addition of Guacamole.Client.getDisplay()). 2012-02-14 23:02:09 -08:00
Michael Jumper
82cb28062d Reduced duration of long-press detect from 1 second to 800 milliseconds (Thanks, Luca) 2012-01-31 21:12:40 -08:00
Michael Jumper
a38d65f63a Determine size of viewport using element stretched to fit view. 2012-01-24 21:05:01 -08:00
Michael Jumper
66f11d5c57 Open menu on long-press. 2012-01-24 18:24:05 -08:00
Michael Jumper
db69e717a0 Combine menu status and error dialog into central status text. 2012-01-24 15:52:16 -08:00
Michael Jumper
e4b82bee3a Use new onkeydown / onkeyup. 2012-01-23 15:15:03 -08:00
Michael Jumper
e4ba210020 Experimental auto-scroll of UI when mouse goes offscreen. 2012-01-23 12:06:46 -08:00
Michael Jumper
0beb9165f4 Experimental mobile-friendly keyboard layout. 2012-01-23 10:05:01 -08:00
Michael Jumper
05318c490a Set size in keyboard layout, migrate to new on-screen keyboard API, update keyboard style. 2012-01-19 15:33:59 -08:00
Michael Jumper
6e3ff98b5a Cleaned up menu shading code. 2011-12-19 17:01:41 -08:00
Michael Jumper
5048d171d5 Improved menu hiding behavior and style. 2011-12-19 16:45:23 -08:00
Michael Jumper
6cfde7df70 Initial fixes for buggy menu hiding feature. 2011-12-19 15:56:12 -08:00
Michael Jumper
3544842514 Fixed confusing "Idle" error handling, improved scoping of UI elements and behavior. 2011-12-12 20:21:04 -08:00
Michael Jumper
cd7ffd4e63 Hide menu on connect, remove rounded edges of clipboard, separate menu hide/show code into own file. 2011-11-19 23:05:12 -08:00