~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to test/prim/cursor.automatic

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
! @(#)cursor.automatic  19.1 (ESO-DMD) 02/25/03 14:33:39
 
2
 
3
! automatic_cursor_file   `cursor.set'          K. Banse, 970224
 
4
 
5
! this file holds ENTER + EXIT events for all Midas commands expecting
 
6
! cursor input
 
7
 
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
 
13
 
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
 
17
!                 = -5 for RETURN
 
18
!       delay is optional + given in msecs, defaulted to 1000, i.e. 1 sec
 
19
 
20
! if the EOF is reached, the file is rewound and read again
 
21
 
22
! the following data records could be used for the two commands:
 
23
! get/cursor
 
24
! extract/trace
 
25
 
26
1,100,100,500
 
27
1,200,200
 
28
1,300,300
 
29
1,400,400,1000
 
30
0
 
31
 
32
1,100,222,0
 
33
2,5
 
34
2,-3
 
35
2,-3
 
36
2,-5
 
37
2,-2
 
38
2,-2
 
39
2,-5
 
40
1,100,322
 
41