--- src/AEConstants/Output.py 30 Nov 2006 20:37:31 -0000 1.1 +++ src/AEConstants/Output.py 5 Dec 2006 21:43:23 -0000 @@ -13,23 +13,26 @@ this distribution, and is available at U{http://www.opensource.org/licenses/bsd-license.php} ''' + +CMD_NOOP = 0 # common commands for serial output devices (e.g. audio, Braille) -CMD_STOP = 0 -CMD_TALK = 1 -CMD_STRING = 2 -CMD_STRING_SYNC = 3 -CMD_FILENAME = 4 +CMD_STOP = 1 +CMD_TALK = 2 +CMD_STRING = 3 +CMD_STRING_SYNC = 4 +CMD_FILENAME = 5 # commands for Braille devices -CMD_CARET = 5 -CMD_TRUNCATE = 7 +CMD_CARET = 6 +CMD_TRUNCATE = 8 # commands for audio devices -CMD_INDEX = 6 +CMD_INDEX = 7 # commands for magnifiers +CMD_GOTO = 9 # provide a reverse mapping from command constants to string command names OUTPUT_COMMAND_NAMES = dict([(value, name.lower()[4:].replace('_', ' ')) for name, value in