•  Back 
  •  Input functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
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-File7.7.9  vex_wheelv                                                  TOS

 Name:         »Exchange wheel interrupt vector« - Adapt the interrupt 
               vector for the mouse wheel.

 Opcode:       134

 Syntax:       void vex_wheelv ( int16_t handle, void *new, void **old 
               );

 Description:  The call vex_wheelv installs a routine which is called 
               by the VDI every time a mouse wheel event occurs. d0.w 
               contain the wheel_number, d1.w contain the wheel_amount 
               of the wheel from the mouse. The subroutine must save 
               and restore modified registers and call the old 
               interrupt routine.

                Parameter  Meaning

                handle     Workstation identifier
                new        Address of the new routine
                old        Address of the old routine

 Return value: The function does not return a result.

 Availability: As of MilanTOS 4.08 Release 5.10.2002, not yet 
               documented, internals may still change.

 Group:        Input functions

 See Also:     Binding   vex_butv   vex_motv   vex_curv   vex_timv