###############################################################################
# BRLTTY - A background process providing access to the console screen (when in
#          text mode) for a blind person using a refreshable braille display.
#
# Copyright (C) 1995-2014 by The BRLTTY Developers.
#
# BRLTTY comes with ABSOLUTELY NO WARRANTY.
#
# This is free software, placed under the terms of the
# GNU Lesser General Public License, as published by the Free Software
# Foundation; either version 2.1 of the License, or (at your option) any
# later version. Please see the file LICENSE-LGPL for details.
#
# Web Page: http://mielke.cc/brltty/
#
# This software is maintained by Dave Mielke <dave@mielke.cc>.
###############################################################################

context braille Braille Input Mode

hotkey Grave NOOP NOOP
hotkey Minus NOOP NOOP
hotkey Equals NOOP NOOP
hotkey Backslash NOOP NOOP

hotkey q NOOP NOOP
hotkey w NOOP NOOP
hotkey e NOOP NOOP
hotkey r NOOP NOOP
hotkey t NOOP NOOP
hotkey y NOOP NOOP
hotkey u NOOP NOOP
hotkey i NOOP NOOP
hotkey o NOOP NOOP
hotkey p NOOP NOOP
hotkey LeftBracket NOOP NOOP
hotkey RightBracket NOOP NOOP

map a DOT7
map s DOT3
map d DOT2
map f DOT1
map g SPACE
map h SPACE
map j DOT4
map k DOT5
map l DOT6
map Semicolon DOT8
hotkey Apostrophe NOOP NOOP

hotkey z NOOP NOOP
hotkey x NOOP NOOP
hotkey c NOOP NOOP
hotkey v NOOP NOOP
hotkey b NOOP NOOP
hotkey n NOOP NOOP
hotkey m NOOP NOOP
hotkey Comma NOOP NOOP
hotkey Period NOOP NOOP
hotkey Slash NOOP NOOP

map Space SPACE
map ShiftLeft UPPERCASE
map ShiftRight UPPERCASE
map ControlLeft CONTROL
map ControlRight CONTROL
map AltLeft META

context default
bind \{brailleOn} CONTEXT+braille
bind \{brailleOff} CONTEXT+default
