Support braille dot or chorded typing conversions to standard keyboard keys

Desktop / Chromium - dtseng [chromium.org] - 17 April 2017 15:41 EDT

This cl enables flexible keyboard commands from a braille display perkins keyboard.

Incrmental modifier typing: A user can press the following keys to build a shortcut- space+dots 2-5: control space+dots 3-6: alt space+dots 3-7: shift

for convenience:- space+dots 2-5-7: control+shift space+dots 3-6-7: alt+shift

For example: type space+dots 3-7, space+dots 3-6, dots 3-4-5 (s) to move to the status tray. Alternatively, press space+dots 3-6-7, dots 3-4-5 (s).

It is now possible to perform common commands like alt+f, ctrl+1-9, and more.

Chorded key mappings: space+dot 7: backspace space+dots 3-5: tab space+dots 1-3-5-6: escape space+dots 4-6: enter These set of commands do not require a incremental modifier be pressed previously.

TEST=invoke various modifiers ctrl+l, alt+f, ctrl+t, alt+shift+l, and more. Verify the expected action occurs. In addition, use chorded commands such as tab, escape, shift+tab (mixture of the two types above). Verify expected action occurs.

BUG=707940,707937 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2817313002 Cr-Commit-Position: refs/heads/master@{#464984}

566a5a2b Support braille dot or chorded typing conversions to standard keyboard keys
.../browser/resources/chromeos/chromevox/BUILD.gn | 1 +
.../braille/braille_key_event_rewriter.js | 82 ++++++++++++++++++
.../chromevox/braille/braille_key_types.js | 98 +++++++++++++++++++++-
.../chromeos/chromevox/braille/liblouis_test.extjs | 22 +++++
.../chromevox/host/chrome/braille_background.js | 9 +-
.../chromeos/chromevox/tools/jscompilerwrapper.py | 2 +-
6 files changed, 210 insertions(+), 4 deletions(-)

Upstream: git.chromium.org


  • Share