This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //NOTE: This is only a DICTIONARY with MOST character to keycode bindings... it is NOT a working cs file | |
| //ITS USEFUL: when you are reading in your control scheme from a file | |
| //NOTE: some characters SHOULD map to multiple keycodes (but this is impossible) | |
| //since this is a dictionary, only 1 character is bound to 1 keycode | |
| //EX: * from the keyboard will be read the same as * from the keypad... because they produce the same character in a text file | |
| Dictionary<char, KeyCode> chartoKeycode = new Dictionary<char, KeyCode>() | |
| { | |
| //-------------------------LOGICAL mappings------------------------- |