diff --git a/proposals/trident-keyflow.svg b/proposals/trident-keyflow.svg new file mode 100644 index 0000000..c5be4c7 --- /dev/null +++ b/proposals/trident-keyflow.svg @@ -0,0 +1,340 @@ + + + + + + + + + + + + + + + + Layer-1 + + + + keydown + (only for latest key down) + Handwriting recognition + keyCode = 231 + + + + + + No Key Activity + + + + + + IME? + + + + + + Created via + physical + keyboard? + + + + + + IME Pad + Command + + + + + + No Events + + + + + + Character + composition + sequence? + + + + + + keydown + keyCode = 229 + + + + + + keyup + keyCode + corresponds + to key pressed + + + + + + Character + sequence + completed? + + + + + + Done + + + + + + + + + Combination + of keys or a function + key? + + + + + + Character key? + + + + + + Sustained? + + + + + + Browser/Windows + keyboard shortcut? + + + + + + Loss of Trident + focus? + + + + + + Released before + Trident loses focus + (or dialog shows)? + + + + + + keypress + keyCode = character + code + + + + + + Sustained + or new combination key + pressed? + + + + + + keyup + Waits and fires keyup for each + key that is depressed as they + are released + + + + + + ALT? + + + + + + ALT released prior to + other key(s)? + + + + + + keyup + Only for other key(s) + + + + + + keyup + + + + + + Trident loses + focus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Trident Keyboard Event Flow + Noted Exception: + ALT+D No keydown event for the D. + Microsoft IME: + When using the IME Pad instead of a + physical keyboard, only the command + buttons fire keyboard events. + IME Pad Command Buttons: + BS, Enter, Space, Del, Esc, Conv, and arrow keys + Character Keys: + a-z, A-Z, 0-9, ~!@#$%^&*()_+=[]\;’,./<>?:”{}|, + ESCAPE, SPACE, ENTER + Function Keys: + F1-F12 + + + +