Workbench User Guide : B. Speed Key Mapping : Keyboard Map Files : How You Can Format Keyboard Map Files
 
Share this page                  
How You Can Format Keyboard Map Files
The OpenROAD keyboard map file is a text file with a specific format. The file describes 24 OpenROAD system-defined keys and 36 user-defined keys. The file contains one line for each key with four entries for each line. The entries are arranged in four columns separated by tabs. All of the columns are mandatory. For example:
-24 "" VK_PAUSE SK_BREAK
-23 Shift+Ctrl+S Shift-Ctrl-VK_S SK_SAVE_AS
Because the contents of some columns require specific values, it is best to copy an existing keyboard map file as a template if you want to modify the file or create a new one.
The following table describes the columns, left to right:
Column
Description
1
Index that OpenROAD uses to map the key. It is read into memory and must always match the text label in column 4.
Note:  Do not change the entries in this column.
2
Text that appears in the pull-down menu for the speed key
3
Virtual key name for the keystroke that occurs
4
Internal symbol name used by OpenROAD, which must match the text label in column 1
Note:  Do not change the entries in this column.