Skip to content

Commit

Permalink
add longhand punctuation names (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexboche authored and LexiconCode committed Aug 2, 2019
1 parent ce44b02 commit 848d1db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions castervoice/lib/ccr/core/nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,9 @@ class Navigation(MergeRule):
button_dictionary_10 = {"function {}".format(i):"f{}".format(i) for i in range(1, 10)}
button_dictionary_10.update(caster_alphabet)
button_dictionary_10.update(text_punc_dict)
longhand_punctuation_names = {"minus": "hyphen", "hyphen":"hyphen", "comma": "comma",
"deckle": "colon", "colon": "colon", "slash": "slash", "backslash": "backslash"}
button_dictionary_10.update(longhand_punctuation_names)
button_dictionary_1 = {"(home | lease wally | latch)": "home", "(end | ross wally | ratch)": "end", "insert": "insert", "zero": "0",
"one": "1", "two": "2", "three": "3", "four": "4", "five": "5", "six":"6", "seven": "7", "eight": "8", "nine": "9"}
combined_button_dictionary = {}
Expand Down

0 comments on commit 848d1db

Please sign in to comment.