! @(#)cursor.automatic 17.1.1.1 (ESO-DMD) 01/25/02 17:59:35 ! ! automatic_cursor_file `cursor.set' K. Banse, 970224 ! ! this file holds ENTER + EXIT events for all Midas commands expecting ! cursor input ! ! records have the form: event,event_dep_data ! withe event = 0 for EXIT 0,delay ! = 1 for ENTER 1,xpos,ypos,delay ! = 2 for key 2,key_value,delay ! = -1 for switching back to interactive mode ! ! xpos,ypos = screen pixel coordinates of cursor ! key_value = 0, 1, ..., 9 for number keys; ! = -1, -2, -3, -4 for Arrow Up, Down, Right, Left ! = -5 for RETURN ! delay is optional + given in msecs, defaulted to 1000, i.e. 1 sec ! ! if the EOF is reached, the file is rewound and read again ! ! the following data records could be used for the two commands: ! get/cursor ! extract/trace ! 1,100,100,500 1,200,200 1,300,300 1,400,400,1000 0 ! 1,100,222,0 2,5 2,-3 2,-3 2,-5 2,-2 2,-2 2,-5 1,100,322 0