# Fenrir comment: copy of speakup DefaultKeyAssignments converted to fenrir syntax # Fenrir comment: https://android.googlesource.com/kernel/msm/+/android-7.1.0_r0.2/drivers/staging/speakup/DefaultKeyAssignments # Fenrir comment: The insert or shift key named below is the fenrir key # This file is intended to give you an overview of the default keys used # by speakup for it's review functions. You may change them to be # anything you want but that will take some familiarity with key # mapping. # We have remapped the insert or zero key on the keypad to act as a # shift key. Well, actually as an altgr key. So in the following list # InsKeyPad-period means hold down the insert key like a shift key and # hit the keypad period. # KeyPad-8 Say current Line KEY_KP8=review_curr_line # InsKeyPad-8 say from top of screen to reading cursor. KEY_FENRIR,KEY_KP8=curr_screen_before_cursor # KeyPad-7 Say Previous Line (UP one line) KEY_KP7=review_prev_line # KeyPad-9 Say Next Line (down one line) KEY_KP9=review_next_line # KeyPad-5 Say Current Word KEY_KP5=review_curr_word # InsKeyPad-5 Spell Current Word KEY_FENRIR,KEY_KP5=review_curr_word_phonetic # KeyPad-4 Say Previous Word (left one word) KEY_KP4=review_prev_word # InsKeyPad-4 say from left edge of line to reading cursor. KEY_FENRIR,KEY_KP4=cursor_read_line_to_cursor # KeyPad-6 Say Next Word (right one word) KEY_KP6=review_next_word # InsKeyPad-6 Say from reading cursor to right edge of line. KEY_FENRIR,KEY_KP6=cursor_read_to_end_of_line # KeyPad-2 Say Current Letter KEY_KP2=review_curr_char # InsKeyPad-2 say current letter phonetically KEY_FENRIR,KEY_KP2=review_curr_char_phonetic # KeyPad-1 Say Previous Character (left one letter) KEY_KP1=review_prev_char # KeyPad-3 Say Next Character (right one letter) KEY_KP3=review_next_char # KeyPad-plus Say Entire Screen KEY_KPPLUS=curr_screen # InsKeyPad-plus Say from reading cursor line to bottom of screen. KEY_FENRIR,KEY_KPPLUS=curr_screen_after_cursor # KeyPad-Minus Park reading cursor (toggle) # TODO # InsKeyPad-minus Say character hex and decimal value. # TODO # KeyPad-period Say Position (current line, position and console) KEY_KPDOT=cursor_position # InsKeyPad-period say colour attributes of current position. KEY_FENRIR,KEY_KPDOT=attribute_cursor # InsKeyPad-9 Move reading cursor to top of screen (insert pgup) KEY_FENRIR,KEY_KP9=review_bottom # InsKeyPad-3 Move reading cursor to bottom of screen (insert pgdn) KEY_FENRIR,KEY_KP3=review_top # InsKeyPad-7 Move reading cursor to left edge of screen (insert home) KEY_FENRIR,KEY_KP7=review_screen_first_char # InsKeyPad-1 Move reading cursor to right edge of screen (insert end) KEY_FENRIR,KEY_KP1=review_screen_last_char # ControlKeyPad-1 Move reading cursor to last character on current line. KEY_CTRL,KEY_KP1=review_line_end # KeyPad-Enter Shut Up (until another key is hit) and sync reading cursor KEY_KPENTER=temp_disable_speech # InsKeyPad-Enter Shut Up (until toggled back on). KEY_FENRIR,KEY_KPENTER=toggle_speech # InsKeyPad-star n go to line (y) or column (x). Where 'n' is any # allowed value for the row or column for your current screen. # TODO # KeyPad-/ Mark and Cut screen region. KEY_KPSLASH=copy_marked_to_clipboard # InsKeyPad-/ Paste screen region into any console. KEY_FENRIR,KEY_KPSLASH=paste_clipboard # Hitting any key while speakup is outputting speech will quiet the # synth until it has caught up with what is being printed on the # console. # following by other fenrir commands KEY_FENRIR,KEY_H=toggle_tutorial_mode KEY_CTRL=shut_up KEY_FENRIR,KEY_KP4=review_line_begin #=review_line_end #=review_line_first_char #=review_line_last_char KEY_FENRIR,KEY_ALT,KEY_1=present_first_line KEY_FENRIR,KEY_ALT,KEY_2=present_last_line KEY_FENRIR,KEY_SHIFT,KEY_KP4=review_prev_word_phonetic KEY_FENRIR,KEY_SHIFT,KEY_KP6=review_next_word_phonetic KEY_FENRIR,KEY_SHIFT,KEY_KP1=review_prev_char_phonetic KEY_FENRIR,KEY_SHIFT,KEY_KP3=review_next_char_phonetic KEY_FENRIR,KEY_CTRL,KEY_KP8=review_up KEY_FENRIR,KEY_CTRL,KEY_KP2=review_down #=exit_review KEY_FENRIR,KEY_I=indent_curr_line KEY_KPPLUS=curr_screen #=cursor_column #=cursor_lineno #=braille_flush #=braille_return_to_cursor #=braille_pan_left #=braille_pan_right KEY_FENRIR,KEY_CTRL,KEY_1=clear_bookmark_1 KEY_FENRIR,KEY_SHIFT,KEY_1=set_bookmark_1 KEY_FENRIR,KEY_1=bookmark_1 KEY_FENRIR,KEY_CTRL,KEY_2=clear_bookmark_2 KEY_FENRIR,KEY_SHIFT,KEY_2=set_bookmark_2 KEY_FENRIR,KEY_2=bookmark_2 KEY_FENRIR,KEY_CTRL,KEY_3=clear_bookmark_3 KEY_FENRIR,KEY_SHIFT,KEY_3=set_bookmark_3 KEY_FENRIR,KEY_3=bookmark_3 KEY_FENRIR,KEY_CTRL,KEY_4=clear_bookmark_4 KEY_FENRIR,KEY_SHIFT,KEY_4=set_bookmark_4 KEY_FENRIR,KEY_4=bookmark_4 KEY_FENRIR,KEY_CTRL,KEY_5=clear_bookmark_5 KEY_FENRIR,KEY_SHIFT,KEY_5=set_bookmark_5 KEY_FENRIR,KEY_5=bookmark_5 KEY_FENRIR,KEY_CTRL,KEY_6=clear_bookmark_6 KEY_FENRIR,KEY_SHIFT,KEY_6=set_bookmark_6 KEY_FENRIR,KEY_6=bookmark_6 KEY_FENRIR,KEY_CTRL,KEY_7=clear_bookmark_7 KEY_FENRIR,KEY_SHIFT,KEY_7=set_bookmark_7 KEY_FENRIR,KEY_7=bookmark_7 KEY_FENRIR,KEY_CTRL,KEY_8=clear_bookmark_8 KEY_FENRIR,KEY_SHIFT,KEY_8=set_bookmark_8 KEY_FENRIR,KEY_8=bookmark_8 KEY_FENRIR,KEY_CTRL,KEY_9=clear_bookmark_9 KEY_FENRIR,KEY_SHIFT,KEY_9=set_bookmark_9 KEY_FENRIR,KEY_9=bookmark_9 KEY_FENRIR,KEY_CTRL,KEY_0=clear_bookmark_10 KEY_FENRIR,KEY_SHIFT,KEY_0=set_bookmark_10 KEY_FENRIR,KEY_0=bookmark_10 KEY_FENRIR,KEY_KPSLASH=set_window_application 2,KEY_FENRIR,KEY_KPSLASH=clear_window_application #=last_incoming KEY_FENRIR,KEY_F2=toggle_braille KEY_FENRIR,KEY_F3=toggle_sound KEY_FENRIR,KEY_CTRL,KEY_P=toggle_punctuation_level KEY_FENRIR,KEY_RIGHTBRACE=toggle_auto_spell_check KEY_FENRIR,KEY_BACKSLASH=toggle_output KEY_FENRIR,KEY_CTRL,KEY_E=toggle_emoticons key_FENRIR,KEY_KPENTER=toggle_auto_read KEY_FENRIR,KEY_CTRL,KEY_T=toggle_auto_time KEY_FENRIR,KEY_KPASTERISK=toggle_highlight_tracking KEY_FENRIR,KEY_KPMINUS=toggle_barrier KEY_FENRIR,KEY_Q=quit_fenrir KEY_FENRIR,KEY_T=time 2,KEY_FENRIR,KEY_T=date KEY_KPSLASH=toggle_auto_indent #=toggle_has_attribute KEY_FENRIR,KEY_S=spell_check 2,KEY_FENRIR,KEY_S=add_word_to_spell_check KEY_FENRIR,KEY_SHIFT,KEY_S=remove_word_from_spell_check KEY_FENRIR,KEY_BACKSPACE=forward_keypress KEY_FENRIR,KEY_ALT,KEY_UP=inc_sound_volume KEY_FENRIR,KEY_ALT,KEY_DOWN=dec_sound_volume KEY_FENRIR,KEY_CTRL,KEY_SHIFT,KEY_C=clear_clipboard KEY_FENRIR,KEY_HOME=first_clipboard KEY_FENRIR,KEY_END=last_clipboard KEY_FENRIR,KEY_PAGEUP=prev_clipboard KEY_FENRIR,KEY_PAGEDOWN=next_clipboard KEY_FENRIR,KEY_SHIFT,KEY_C=curr_clipboard KEY_FENRIR,KEY_CTRL,KEY_C=copy_last_echo_to_clipboard KEY_FENRIR,KEY_F5=import_clipboard_from_file KEY_FENRIR,KEY_F6=export_clipboard_to_file KEY_FENRIR,KEY_CTRL,KEY_SHIFT,KEY_X=remove_marks KEY_FENRIR,KEY_X=set_mark KEY_FENRIR,KEY_SHIFT,KEY_X=marked_text KEY_FENRIR,KEY_F10=toggle_vmenu_mode KEY_FENRIR,KEY_SPACE=current_quick_menu_entry KEY_FENRIR,KEY_CTRL,KEY_SPACE=current_quick_menu_value KEY_FENRIR,KEY_RIGHT=next_quick_menu_entry KEY_FENRIR,KEY_UP=next_quick_menu_value KEY_FENRIR,KEY_LEFT=prev_quick_menu_entry KEY_FENRIR,KEY_DOWN=prev_quick_menu_value KEY_FENRIR,KEY_CTRL,KEY_S=save_settings # linux specific KEY_FENRIR,KEY_F7=import_clipboard_from_x KEY_FENRIR,KEY_F8=export_clipboard_to_x KEY_FENRIR,KEY_CTRL,KEY_UP=inc_alsa_volume KEY_FENRIR,KEY_CTRL,KEY_DOWN=dec_alsa_volume