1
! @(#)cursor.automatic 19.1 (ESO-DMD) 02/25/03 14:33:39
3
! automatic_cursor_file `cursor.set' K. Banse, 970224
5
! this file holds ENTER + EXIT events for all Midas commands expecting
8
! records have the form: event,event_dep_data
9
! withe event = 0 for EXIT 0,delay
10
! = 1 for ENTER 1,xpos,ypos,delay
11
! = 2 for key 2,key_value,delay
12
! = -1 for switching back to interactive mode
14
! xpos,ypos = screen pixel coordinates of cursor
15
! key_value = 0, 1, ..., 9 for number keys;
16
! = -1, -2, -3, -4 for Arrow Up, Down, Right, Left
18
! delay is optional + given in msecs, defaulted to 1000, i.e. 1 sec
20
! if the EOF is reached, the file is rewound and read again
22
! the following data records could be used for the two commands: