MCPcopy Create free account

hub / github.com/adobe-type-tools/keyboard-layouts / functions

Functions36 in github.com/adobe-type-tools/keyboard-layouts

↓ 22 callersFunctionchar_description
Return description of characters, e.g. 'DIGIT ONE', 'EXCLAMATION MARK' etc.
mac2winKeyboard.py:518
↓ 10 callersFunctionmake_klc_filename
Windows .dll files allow for 8-character file names only, which is why the output file name is truncated. If the input file name contains a n
mac2winKeyboard.py:581
↓ 8 callersMethodcheck_states
Assign index numbers to the different shift states, by comparing them to the minimum and maximum possible modifier configurations.
mac2winKeyboard.py:92
↓ 8 callersMethodget_key_output
Used to find output per state, for every key. If no output, return '-1' (a.k.a. not defined).
mac2winKeyboard.py:335
↓ 7 callersFunctionmake_keyboard_name
Return the base name of the .keylayout file
mac2winKeyboard.py:621
↓ 4 callersFunctionverify_input_file
Check if the input file exists, and if the suffix is .keylayout https://stackoverflow.com/a/15203955
mac2winKeyboard.py:629
↓ 3 callersFunctionactualize_copyright_year
(s)
test_mac2winKeyboard.py:136
↓ 3 callersFunctionchar_from_hex
Return character from a Unicode code point.
mac2winKeyboard.py:510
↓ 3 callersFunctionmake_klc_data
(keyboard_name, keyboard_data)
mac2winKeyboard.py:662
↓ 3 callersFunctionprocess_input_keylayout
(input_keylayout)
mac2winKeyboard.py:614
↓ 3 callersFunctionread_file
Read a file, make list of the lines, close the file.
mac2winKeyboard.py:479
↓ 2 callersFunctionfilter_xml
Filter xml-based .keylayout file. Unicode entities (�) make the ElementTree xml parser choke, that’s why some replacement operatio
mac2winKeyboard.py:532
↓ 2 callersFunctionget_args
(args=None)
mac2winKeyboard.py:676
↓ 2 callersFunctionrun
(args)
mac2winKeyboard.py:696
↓ 1 callersFunctioncodepoint_from_char
Return a 4 or 5-digit Unicode hex string for the passed character.
mac2winKeyboard.py:489
↓ 1 callersMethodfind_deadkeys
Populate dictionary self.deadkeys which contains the state ID and the code point of an actual dead key. (for instance, '3': '
mac2winKeyboard.py:201
↓ 1 callersMethodfind_outputs
Find the real output values of all the keys, e.g. replacing the action IDs in the XML keyboard layout with the code points they
mac2winKeyboard.py:260
↓ 1 callersMethodget_deadkey_table
Summary of dead keys, and their results in all intended combinations.
mac2winKeyboard.py:436
↓ 1 callersMethodget_key_table
(self)
mac2winKeyboard.py:347
↓ 1 callersMethodget_keyname_dead
List of dead keys contained in the klc keyboard layout.
mac2winKeyboard.py:460
↓ 1 callersMethodmake_deadkey_dict
Populate self.deadkey_dict, which maps a deadkey e.g. (02dc, circumflex) to (base character, accented character) tuples e.g.
mac2winKeyboard.py:281
↓ 1 callersFunctionmake_klc_epilogue
()
mac2winKeyboard.py:656
↓ 1 callersFunctionmake_klc_prologue
(keyboard_name)
mac2winKeyboard.py:645
↓ 1 callersMethodmake_output_dict
This script is configured to work for the first keymap set of an XML keyboard layout only. Here, the filtering occurs:
mac2winKeyboard.py:301
↓ 1 callersMethodmatch_actions
Extend self.action_list is extended by the base character, e.g. [ '6', # action id 's1', # state
mac2winKeyboard.py:235
↓ 1 callersMethodparse
(self, tree)
mac2winKeyboard.py:103
Method__init__
(self, tree)
mac2winKeyboard.py:54
Methodtest_char_description
(self)
test_mac2winKeyboard.py:11
Methodtest_filter_xml
(self)
test_mac2winKeyboard.py:87
Methodtest_get_args
(self)
test_mac2winKeyboard.py:82
Methodtest_make_keyboard_name
(self)
test_mac2winKeyboard.py:27
Methodtest_make_klc_data
(self)
test_mac2winKeyboard.py:95
Methodtest_make_klc_filename
(self)
test_mac2winKeyboard.py:37
Methodtest_read_file
(self)
test_mac2winKeyboard.py:59
Methodtest_run
(self)
test_mac2winKeyboard.py:116
Methodtest_verify_input_file
(self)
test_mac2winKeyboard.py:64