Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File8.22.4 APPLRECORD TOS This structure is defined as follows: typedef struct { int32_t type; /* Type of event */ int32_t what; /* Exact description of the event */ } APPLRECORD For the components the following apply: type Meaning what 0 Timer event Number of milliseconds 1 Button event Number of key-presses (high-WORD), and status of mouse buttons (low-WORD), namely: 0 = not depressed, 1 = depressed. 2 Maus event X-coordinate (high-WORD), Y-coordinate (low- WORD) of hotspot 3 Tastatur event Bit 0-7 ASCII-code Bit 8-15 Scancode Bit 16-31 State of 'special' keys: Right [Shift]: 0x0001 Left [Shift]: 0x0002 [Control]: 0x0004 [Alternate]: 0x0008 Note: Under PC-GEM each event occupies only 6 bytes, as the component type of APPLRECORD is defined as a WORD there. See Also: appl_tplay appl_trecord