From: <mk...@us...> - 2003-07-26 21:48:28
|
Update of /cvsroot/csp/APPLICATIONS/CSPSim/Bin In directory sc8-pr-cvs1:/tmp/cvs-serv18619 Modified Files: MakeDefaultInputMaps.py Log Message: Index: MakeDefaultInputMaps.py =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Bin/MakeDefaultInputMaps.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MakeDefaultInputMaps.py 24 Jul 2003 08:34:21 -0000 1.1 --- MakeDefaultInputMaps.py 26 Jul 2003 21:48:25 -0000 1.2 *************** *** 38,44 **** sys.exit(1) ! map2hid = norm("../Tools/HID/map2hid") ! if not os.path.exists(map2hid): ! print >>sys.stderr, "Can't find '%s', aborting." % map2hid sys.exit(1) --- 38,44 ---- sys.exit(1) ! cspinput = norm("../Tools/HID/cspinput") ! if not os.path.exists(cspinput): ! print >>sys.stderr, "Can't find '%s', aborting." % cspinput sys.exit(1) *************** *** 55,59 **** source = os.path.join("Examples", "%s.map" % map) target = os.path.join(input_path, "%s.hid" % map) ! os.system("python map2hid %s %s" % (source, target)) print "Default input map created for %s.map; see Tools/HID/README for details." % map --- 55,59 ---- source = os.path.join("Examples", "%s.map" % map) target = os.path.join(input_path, "%s.hid" % map) ! os.system("python cspinput %s %s" % (source, target)) print "Default input map created for %s.map; see Tools/HID/README for details." % map |